* varobj.c (varobj_create): Call do_cleanups on early exit path.
* valops.c (find_overload_match): Call do_cleanups on early exit path. * solib.c (solib_find): Call do_cleanups on early exit path.
This commit is contained in:
parent
3bb47e8bce
commit
f748fb4088
@ -1,3 +1,10 @@
|
||||
2011-06-30 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* varobj.c (varobj_create): Call do_cleanups on early exit path.
|
||||
* valops.c (find_overload_match): Call do_cleanups on early exit
|
||||
path.
|
||||
* solib.c (solib_find): Call do_cleanups on early exit path.
|
||||
|
||||
2011-06-30 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* symfile-mem.c (symbol_file_add_from_memory): Call do_cleanups.
|
||||
|
@ -254,6 +254,7 @@ solib_find (char *in_pathname, int *fd)
|
||||
if (remote_filename_p (temp_pathname))
|
||||
{
|
||||
*fd = -1;
|
||||
do_cleanups (old_chain);
|
||||
return temp_pathname;
|
||||
}
|
||||
|
||||
|
@ -2585,6 +2585,7 @@ find_overload_match (struct type **arg_types, int nargs,
|
||||
if (*valp)
|
||||
{
|
||||
*staticp = 1;
|
||||
do_cleanups (all_cleanups);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
@ -580,6 +580,7 @@ varobj_create (char *objname,
|
||||
return a sensible error. */
|
||||
if (!gdb_parse_exp_1 (&p, block, 0, &var->root->exp))
|
||||
{
|
||||
do_cleanups (old_chain);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user