summaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2013-03-20 22:17:18 +0000
committerKeith Seitz <keiths@redhat.com>2013-03-20 22:17:18 +0000
commit8d3dd301593ef5feb294bc8434ce6e3ba4552c5e (patch)
treee5b3678b79d4cf17d6a4a77115cf1beb25a31dff /gdb/breakpoint.c
parent4a705f8ebf92bdb609f9f646f3c778cdc4f7540c (diff)
downloadgdb-8d3dd301593ef5feb294bc8434ce6e3ba4552c5e.tar.gz
* breakpoint.h (struct breakpoint): Add comment to
extra_string indicating that this member is mallod'd. * breakpoint.c (base_breakpoint_dtor): Free extra_string.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 0ff46833620..c844187467d 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -12788,6 +12788,7 @@ base_breakpoint_dtor (struct breakpoint *self)
{
decref_counted_command_line (&self->commands);
xfree (self->cond_string);
+ xfree (self->extra_string);
xfree (self->addr_string);
xfree (self->filter);
xfree (self->addr_string_range_end);