summaryrefslogtreecommitdiff
path: root/ide-autocomplete.c
diff options
context:
space:
mode:
Diffstat (limited to 'ide-autocomplete.c')
-rw-r--r--ide-autocomplete.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/ide-autocomplete.c b/ide-autocomplete.c
index c024e30..6b98526 100644
--- a/ide-autocomplete.c
+++ b/ide-autocomplete.c
@@ -765,3 +765,9 @@ void autocomplete_frame(Ted *ted) {
gl_geometry_draw();
text_render(font);
}
+
+void autocomplete_quit(Ted *ted) {
+ autocomplete_close(ted);
+ free(ted->autocomplete);
+ ted->autocomplete = NULL;
+}