diff options
Diffstat (limited to 'src/tools/autocomplete.c')
-rw-r--r-- | src/tools/autocomplete.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/autocomplete.c b/src/tools/autocomplete.c index 4b25edd6..0c56cac7 100644 --- a/src/tools/autocomplete.c +++ b/src/tools/autocomplete.c @@ -69,8 +69,7 @@ void autocomplete_free(Autocomplete ac) { autocomplete_clear(ac); - g_free(ac); - ac = NULL; + free(ac); } gint |