m32r_load is missing a call to do_cleanups along one return path.
* m32r-rom.c (m32r_load): Call do_cleanups at all returns.
2013-05-30 Tom Tromey <tromey@redhat.com>
+ * m32r-rom.c (m32r_load): Call do_cleanups at all returns.
+
+2013-05-30 Tom Tromey <tromey@redhat.com>
+
* mi/mi-main.c (list_available_thread_groups): Call do_cleanups.
2013-05-30 Tom Tromey <tromey@redhat.com>
if (!(catch_errors (m32r_load_1, abfd, "Load aborted!\n", RETURN_MASK_ALL)))
{
monitor_printf ("q\n");
+ do_cleanups (cleanup);
return;
}
#endif