diff options
Diffstat (limited to 'src/ldso')
-rw-r--r-- | src/ldso/dynlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index b8c26ace..93a4b44c 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -572,7 +572,7 @@ static void free_all(struct dso *p) struct dso *n; while (p) { n = p->next; - if (p->map) free(p); + if (p->map && p!=libc && p!=head) free(p); p = n; } } |