[PATCH] Fix memory leak in dlerror.c

Ulrich Drepper drepper@redhat.com
Sat Aug 7 02:29:00 GMT 2010


-----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-----



More information about the Libc-alpha mailing list