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.
This commit is contained in:
parent
e3b76b4f44
commit
4e993a190a
@ -1,3 +1,7 @@
|
||||
2013-05-30 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* symmisc.c (maintenance_expand_symtabs): Call do_cleanups.
|
||||
|
||||
2013-05-30 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* xml-support.c (gdb_xml_create_parser_and_cleanup): Rename from
|
||||
|
@ -898,6 +898,8 @@ maintenance_expand_symtabs (char *args, int from_tty)
|
||||
maintenance_expand_name_matcher, ALL_DOMAIN, regexp);
|
||||
}
|
||||
}
|
||||
|
||||
do_cleanups (cleanups);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user