diff options
-rw-r--r-- | src/ldso/dynlink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 0ae7177f..ff99489a 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -421,6 +421,7 @@ static void *map_library(int fd, struct dso *dso) dso->base = base; dso->dynv = (void *)(base+dyn); if (dso->tls_size) dso->tls_image = (void *)(base+tls_image); + free(allocated_buf); return map; noexec: errno = ENOEXEC; |