diff options
author | Tom Tromey <tromey@redhat.com> | 2012-08-03 20:52:47 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-08-03 20:52:47 +0000 |
commit | 5a1cf4d6a803271b9c895d0c11fdeeab9f49bb99 (patch) | |
tree | 636046a78bf19cee592a948d393717c63b0c4915 /gdb/dwarf2-frame.c | |
parent | 7b84f8dad032b67b971407e5204cc4c31d406802 (diff) | |
download | gdb-5a1cf4d6a803271b9c895d0c11fdeeab9f49bb99.zip gdb-5a1cf4d6a803271b9c895d0c11fdeeab9f49bb99.tar.gz gdb-5a1cf4d6a803271b9c895d0c11fdeeab9f49bb99.tar.bz2 |
* dwarf2-frame.c (dwarf2_frame_cache): Call do_cleanups before
return.
Diffstat (limited to 'gdb/dwarf2-frame.c')
-rw-r--r-- | gdb/dwarf2-frame.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c index 01786ef..741a103 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2-frame.c @@ -1110,6 +1110,7 @@ dwarf2_frame_cache (struct frame_info *this_frame, void **this_cache) if (ex.error == NOT_AVAILABLE_ERROR) { cache->unavailable_retaddr = 1; + do_cleanups (old_chain); return cache; } |