Ignore:
Timestamp:
Sep 18, 2010, 10:13:46 PM (10 years ago)
Author:
charles
Message:

(trunk libT) #3567 "Minor memory leak in pthread_create()" -- fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r10919 r11227  
    135135    }
    136136#else
    137     pthread_create( &t->thread, NULL, ( void * ( * )(
    138                                            void * ) )ThreadFunc, t );
     137    pthread_create( &t->thread, NULL, (void*(*)(void*))ThreadFunc, t );
     138    pthread_detach( t->thread );
     139
    139140#endif
    140141
Note: See TracChangeset for help on using the changeset viewer.