extra_string indicating that this member is mallod'd.
* breakpoint.c (base_breakpoint_dtor): Free extra_string.
+2013-03-20 Keith Seitz <keiths@redhat.com>
+
+ * breakpoint.h (struct breakpoint): Add comment to
+ extra_string indicating that this member is mallod'd.
+ * breakpoint.c (base_breakpoint_dtor): Free extra_string.
+
2013-03-20 Pedro Alves <palves@redhat.com>
PR gdb/15289
{
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);
there is no condition. */
char *cond_string;
- /* String form of extra parameters, or NULL if there are none. */
+ /* String form of extra parameters, or NULL if there are none.
+ Malloc'd. */
char *extra_string;
/* Holds the address of the related watchpoint_scope breakpoint