diff options
author | Tom Tromey <tromey@redhat.com> | 2011-06-30 19:29:54 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-06-30 19:29:54 +0000 |
commit | 45b8dae15e0f07a3a14884a9897e95e74da1c9d7 (patch) | |
tree | 56705af9674b956cca3b5af19ce930d26d17ad82 /gdb/valops.c | |
parent | 9808f28cd4250a5a1736b92cee63973730c252cb (diff) | |
download | gdb-45b8dae15e0f07a3a14884a9897e95e74da1c9d7.tar.gz |
* 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.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index 803b73cdca0..ae1121201cf 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -2585,6 +2585,7 @@ find_overload_match (struct type **arg_types, int nargs, if (*valp) { *staticp = 1; + do_cleanups (all_cleanups); return 0; } } |