* mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup
handlers. Free expression.
+2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
+
+ * mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup
+ handlers. Free expression.
+
2006-11-28 Ulrich Weigand <uweigand@de.ibm.com>
* config/tm-linux.h (REALTIME_LO, REALTIME_HI): Do not define.
old_cleanups = make_cleanup (free_current_contents, &name);
frame = xstrdup (argv[1]);
- old_cleanups = make_cleanup (xfree, frame);
+ make_cleanup (xfree, frame);
expr = xstrdup (argv[2]);
+ make_cleanup (xfree, expr);
if (strcmp (name, "-") == 0)
{