Message ID | 87zguzfyvk.fsf@oldenburg.str.redhat.com |
---|---|
State | New |
Headers | show |
Series | elf: Call free from base namespace on error in dl-libc.c [BZ #27646] | expand |
Ok. Andreas.
diff --git a/elf/dl-libc.c b/elf/dl-libc.c index a49df22029..ba792e9589 100644 --- a/elf/dl-libc.c +++ b/elf/dl-libc.c @@ -48,7 +48,7 @@ dlerror_run (void (*operate) (void *), void *args) ?: last_errstring != NULL); if (result && malloced) - free ((char *) last_errstring); + GLRO (dl_error_free) ((char *) last_errstring); return result; }