diff options
Diffstat (limited to 'gdb/libunwind-frame.c')
-rw-r--r-- | gdb/libunwind-frame.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/libunwind-frame.c b/gdb/libunwind-frame.c index 481b6b2..231d909 100644 --- a/gdb/libunwind-frame.c +++ b/gdb/libunwind-frame.c @@ -101,6 +101,7 @@ libunwind_descr_init (struct gdbarch *gdbarch) { struct libunwind_descr *descr = GDBARCH_OBSTACK_ZALLOC (gdbarch, struct libunwind_descr); + return descr; } @@ -201,6 +202,7 @@ void libunwind_frame_dealloc_cache (struct frame_info *self, void *this_cache) { struct libunwind_frame_cache *cache = this_cache; + if (cache->as) unw_destroy_addr_space_p (cache->as); } |