From 188a2f4871a753bcb906e6c1502ee302010b2390 Mon Sep 17 00:00:00 2001 From: nate Date: Fri, 14 May 1999 21:36:16 +0000 Subject: - Fixed bug where we NULL'd before we freed the data causing a memory leak. Submitted by: Ralf S. Engelschall Obtained from: PR i386/11713 --- lib/libkse/thread/thr_spec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libkse/thread/thr_spec.c') diff --git a/lib/libkse/thread/thr_spec.c b/lib/libkse/thread/thr_spec.c index 8558dff..d1caa28 100644 --- a/lib/libkse/thread/thr_spec.c +++ b/lib/libkse/thread/thr_spec.c @@ -124,8 +124,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.1