projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b76b4
)
maintenance_expand_symtabs leaks a cleanup
author
Tom Tromey
<tromey@redhat.com>
Thu, 30 May 2013 17:44:54 +0000
(17:44 +0000)
committer
Tom Tromey
<tromey@redhat.com>
Thu, 30 May 2013 17:44:54 +0000
(17:44 +0000)
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.
gdb/ChangeLog
patch
|
blob
|
history
gdb/symmisc.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index fe96062b1b8ff03e5686183573cf3fb4da8ec96c..7c134f67ac22992a30bb3e0b7d2205d31e5d57de 100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-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
diff --git
a/gdb/symmisc.c
b/gdb/symmisc.c
index eb8bbbfb2a01098e008d5d7ddab09feff733231b..a1ae7bdffd70610adbc07542a0f775ce10b82094 100644
(file)
--- 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);
}
\f