From cb614ec36f067b806b9896a2d37459e001982643 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 17 May 2014 22:49:24 +0100 Subject: [PATCH] Free autocomplete hash table --- src/command/command.c | 2 ++ 1 file changed, 2 insertions(+) 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; }