diff options
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 84e2680..5302afa 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -5062,6 +5062,7 @@ completion_list_add_name (const char *symname, VEC_safe_push (char_ptr, return_val, new); throw_max_completions_reached_error (); case MAYBE_ADD_COMPLETION_MAX_REACHED: + xfree (new); throw_max_completions_reached_error (); case MAYBE_ADD_COMPLETION_DUPLICATE: xfree (new); |