Free autocomplete hash table
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user