diff options
author | Alex Feldman <alex@cvs.openbsd.org> | 1999-05-14 22:29:53 +0000 |
---|---|---|
committer | Alex Feldman <alex@cvs.openbsd.org> | 1999-05-14 22:29:53 +0000 |
commit | 27182716f9b28613bd8bb9f773a9fe19cdb7590c (patch) | |
tree | c8ece239d0ea3ce48f6a5b759967063b09296c53 /lib/libc_r/uthread/uthread_spec.c | |
parent | 0e3858422e0ca726bf2faa43fad4e64582d585d4 (diff) |
Memory leak; FreeBSD PR 11713 rse@engelschall.com
Diffstat (limited to 'lib/libc_r/uthread/uthread_spec.c')
-rw-r--r-- | lib/libc_r/uthread/uthread_spec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <signal.h> #include <stdlib.h> @@ -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 ** |