diff options
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 66b319e..a92ae8c 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -6082,7 +6082,7 @@ handle_gnu_v3_exceptions (int tempflag, char *cond_string, sals = decode_line_1 (&nameptr, 1, NULL, 0, NULL); if (sals.nelts == 0) { - free (trigger_func_name); + xfree (trigger_func_name); return 0; } @@ -6098,7 +6098,7 @@ handle_gnu_v3_exceptions (int tempflag, char *cond_string, b->disposition = tempflag ? disp_del : disp_donttouch; b->ops = &gnu_v3_exception_catchpoint_ops; - free (sals.sals); + xfree (sals.sals); mention (b); return 1; } |