projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
windows_clear_solib memory leak
[deliverable/binutils-gdb.git]
/
gdb
/
windows-nat.c
diff --git
a/gdb/windows-nat.c
b/gdb/windows-nat.c
index fc84faa17b0aa5bb5ff7e7f913b67aafc48e5bae..2214caacb8198ab8993dd561f9c3aab77b8afb7f 100644
(file)
--- a/
gdb/windows-nat.c
+++ b/
gdb/windows-nat.c
@@
-940,7
+940,14
@@
catch_errors (void (*func) ())
static void
windows_clear_solib (void)
{
- solib_start.next = NULL;
+ struct so_list *so;
+
+ for (so = solib_start.next; so; so = solib_start.next)
+ {
+ solib_start.next = so->next;
+ windows_free_so (so);
+ }
+
solib_end = &solib_start;
}
This page took
0.024287 seconds
and
4
git commands to generate.