[PATCH] Fix linuxthreads memory leak

Ulrich Drepper drepper@redhat.com
Wed Dec 17 23:48:00 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jakub Jelinek wrote:

> 	* manager.c (pthread_free): Call _dl_deallocate_tls even for
> 	p_userstack threads.
> 	* pthread.c (__pthread_initialize_manager): Call _dl_deallocate_tls
> 	on error.
> 	(pthread_onexit_process): Update comment.
> 	* Makefile (tests): Add tst-stack1.  Depend on $(objpfx)tst-stack1-mem.
> 	(generated): Add tst-stack1.mtrace and tst-stack1-mem.
> 	(tst-stack1-ENV): Set.
> 	($(objpfx)tst-stack1-mem): New.
> 	* tst-stack1.c: New test.

Applied.  Thanks,

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/4Or/2ijCOnn/RHQRAkFRAKDJQ4lzo1HiBqzHF1crwv9XAS3vagCfbOnw
wvh9WfP+B0VJy53Kct4cD2E=
=f+ER
-----END PGP SIGNATURE-----



More information about the Libc-hacker mailing list