diff options
author | Keith Seitz <keiths@redhat.com> | 2013-03-20 22:17:18 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2013-03-20 22:17:18 +0000 |
commit | fb81d0169b86ced7d11bf4eff03d19f3e1ded9b4 (patch) | |
tree | 878623e8f2ace8815ef495c473a0a58f4c3210cf /gdb/breakpoint.c | |
parent | ef0026f03b3a4e892477fddf5e7da722b656db61 (diff) | |
download | gdb-fb81d0169b86ced7d11bf4eff03d19f3e1ded9b4.zip gdb-fb81d0169b86ced7d11bf4eff03d19f3e1ded9b4.tar.gz gdb-fb81d0169b86ced7d11bf4eff03d19f3e1ded9b4.tar.bz2 |
* 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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index 0ff4683..c844187 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); |