From 0faaaeaa9af6ccec0bce3cca52f914ba56d0bae7 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 21 Jan 2010 03:14:46 +0000 Subject: [PATCH] (trunk libT) #2756 "32 byte leak in tr_threadNew()" -- fixed for 1.81 --- libtransmission/platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtransmission/platform.c b/libtransmission/platform.c index 77f5a7e8a..fc9824dd7 100644 --- a/libtransmission/platform.c +++ b/libtransmission/platform.c @@ -108,6 +108,7 @@ ThreadFunc( void * _t ) t->func( t->arg ); + tr_free( t ); #ifdef WIN32 _endthreadex( 0 ); return 0;