diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ldso/dynlink.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 4a371839..f6ed8011 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c @@ -1413,6 +1413,8 @@ void *dlopen(const char *file, int mode) free(p->td_index); p->td_index = tmp; } + if (p->rpath != p->rpath_orig) + free(p->rpath); free(p->deps); free(p); } |