2004-01-27 double-free fix.
+2004-01-31 Daniel Jacobowitz <drow@mvista.com>
+
+ * breakpoint.c (breakpoint_re_set_one): Add missing chunk of
+ 2004-01-27 double-free fix.
+
2004-01-31 Mark Kettenis <kettenis@gnu.org>
* sparc-tdep.c (sparc_fetch_wcookie): New function.
{
s = b->cond_string;
if (b->cond)
- xfree (b->cond);
+ {
+ xfree (b->cond);
+ /* Avoid re-freeing b->exp if an error during the call
+ to parse_exp_1. */
+ b->cond = NULL;
+ }
b->cond = parse_exp_1 (&s, block_for_pc (sals.sals[i].pc), 0);
}