about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/command/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c
index 211f7b4f..22c9670a 100644
--- a/src/command/command.c
+++ b/src/command/command.c
@@ -1574,9 +1574,11 @@ _cmd_complete_parameters(char *input, int *size)
         if (result != NULL) {
             ui_replace_input(input, result, size);
             g_free(result);
+            g_hash_table_destroy(ac_funcs);
             return;
         }
     }
+    g_hash_table_destroy(ac_funcs);
 
     return;
 }