This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix memory leak in dlerror.c
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You have to explain what you are trying to solve. Without looking into
this too deeply I'd say it's unnecessary. The error strings are not
tied to the loading/unloading. When a new string is needed the old one
get freed. I don't think any other condition is needed. It might
indeed be harmful if the string is still in use.
Provide a self-contained test case which shows a problem.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iEYEARECAAYFAkxcxEkACgkQ2ijCOnn/RHTvwACgv65WHVGOYK9VijuvokBT/4pv
yA8An0fJKDNjI3FZksa6qZ+13e4uSq5o
=Oclt
-----END PGP SIGNATURE-----