projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2011-03-04 Michael Snyder <msnyder@vmware.com>
[binutils-gdb.git]
/
gdb
/
solib.c
diff --git
a/gdb/solib.c
b/gdb/solib.c
index 6748d8768c92ecc3f7971e9fb596a04e7ca7de61..2bf0751399e4c9e815624d709d3e17fdf91c4760 100644
(file)
--- a/
gdb/solib.c
+++ b/
gdb/solib.c
@@
-1326,6
+1326,7
@@
reload_shared_libraries_1 (int from_tty)
SYMFILE_DEFER_BP_RESET | (from_tty ? SYMFILE_VERBOSE : 0);
filename = tilde_expand (so->so_original_name);
+ make_cleanup (xfree, filename);
abfd = solib_bfd_open (filename);
if (abfd != NULL)
{