]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a memory leak. pthread_set_name_np() allocates space for a name, but
authorjasone <jasone@FreeBSD.org>
Tue, 16 May 2000 21:57:12 +0000 (21:57 +0000)
committerjasone <jasone@FreeBSD.org>
Tue, 16 May 2000 21:57:12 +0000 (21:57 +0000)
commite3cda7421d1200af9960288af861554b935f0fcd
tree6dc30088a4d6c68e3ab38b6d7cd6306e60e44219
parent898e24acb66c9d74fc15b81d6093e3567f6da6eb
Fix a memory leak.  pthread_set_name_np() allocates space for a name, but
_thread_gc() was not deallocating it.

PR: misc/18504
lib/libc_r/uthread/uthread_gc.c
lib/libpthread/thread/thr_gc.c