This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix memory leak in dlerror.c


Hi,

Attached is a patch which frees thread-local memory when using dlopen.
Details and a minimal test case are available[1]. I had originally
placed the patch on RHBZ since I had been unable to find the official
mailing list (it was probably late at night and classes need my
attention as well). Alternatively, the patch can be pulled from my
repository[2] with the `dev/fix-dlerror-memleak' branch. If I branched
off of the wrong place (master?), I can rebase if necessary. Thanks.

======== BEGIN ChangeLog ===================================
2010-04-07  Ben Boeckel  <mathstuf@gmail.com>

	* dlfcn/dlerror.c: Clean up thread memory upon unloading.

========  END  ChangeLog ===================================

(Date is when the patch was originally changed, feel free to update it
if necessary).

--Ben

[1]https://bugzilla.redhat.com/show_bug.cgi?id=580303
[2]git://git.benboeckel.net/other/glibc.git

Attachment: 0001-Clean-up-thread-local-memory-upon-unloading-libdl.patch
Description: Text document

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]