From 27182716f9b28613bd8bb9f773a9fe19cdb7590c Mon Sep 17 00:00:00 2001 From: Alex Feldman Date: Fri, 14 May 1999 22:29:53 +0000 Subject: Memory leak; FreeBSD PR 11713 rse@engelschall.com --- lib/libc_r/uthread/uthread_spec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc_r/uthread/uthread_spec.c') diff --git a/lib/libc_r/uthread/uthread_spec.c b/lib/libc_r/uthread/uthread_spec.c index 8cf4959f1ca..6a4b9c9c5e4 100644 --- a/lib/libc_r/uthread/uthread_spec.c +++ b/lib/libc_r/uthread/uthread_spec.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: uthread_spec.c,v 1.4 1999/01/06 05:29:29 d Exp $ + * $OpenBSD: uthread_spec.c,v 1.5 1999/05/14 22:29:52 alex Exp $ */ #include #include @@ -125,8 +125,8 @@ _thread_cleanupspecific(void) } } } - _thread_run->specific_data = NULL; free(_thread_run->specific_data); + _thread_run->specific_data = NULL; } static inline const void ** -- cgit v1.2.3