diff options
author | Tom Tromey <tromey@redhat.com> | 2011-06-30 19:29:55 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-06-30 19:29:55 +0000 |
commit | f748fb408892764f17e4269508a2af6f613909fd (patch) | |
tree | 51de58f49904587d43a0be20f8c4688808d1db3b /gdb/varobj.c | |
parent | 3bb47e8bce4c147142b298c5c23368ba189105bc (diff) | |
download | gdb-f748fb408892764f17e4269508a2af6f613909fd.zip gdb-f748fb408892764f17e4269508a2af6f613909fd.tar.gz gdb-f748fb408892764f17e4269508a2af6f613909fd.tar.bz2 |
* 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/varobj.c')
-rw-r--r-- | gdb/varobj.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index 07dbc27..4f8ded7 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -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; } |