Free autocomplete hash table

This commit is contained in:
James Booth
2014-05-17 22:49:24 +01:00
parent e762d80b68
commit cb614ec36f

View File

@@ -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;
}