aboutsummaryrefslogtreecommitdiff
path: root/gdb/symmisc.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-05-30 17:44:54 +0000
committerTom Tromey <tromey@redhat.com>2013-05-30 17:44:54 +0000
commit4e993a190a2602ee03f2dbad245d0c074e9b2362 (patch)
tree85601bded1fcf485ec89c2a4bb1c05c292b5c5ec /gdb/symmisc.c
parente3b76b4f446aeb82fdfd46185b624359d5490ec6 (diff)
downloadgdb-4e993a190a2602ee03f2dbad245d0c074e9b2362.zip
gdb-4e993a190a2602ee03f2dbad245d0c074e9b2362.tar.gz
gdb-4e993a190a2602ee03f2dbad245d0c074e9b2362.tar.bz2
maintenance_expand_symtabs leaks a cleanup
It turns out that maintenance_expand_symtabs was missing a call to do_cleanups. I found this using the cleanup checker. * symmisc.c (maintenance_expand_symtabs): Call do_cleanups.
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r--gdb/symmisc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index eb8bbbf..a1ae7bd 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -898,6 +898,8 @@ maintenance_expand_symtabs (char *args, int from_tty)
maintenance_expand_name_matcher, ALL_DOMAIN, regexp);
}
}
+
+ do_cleanups (cleanups);
}