15:11 < jhujhiti> charles_: there are no bugs

This commit is contained in:
Charles Kerr 2008-12-15 04:34:06 +00:00
parent 54be88dec3
commit 2e8d3a6b61
1 changed files with 4 additions and 3 deletions

View File

@ -118,9 +118,9 @@ closeCb( int * const socket,
} }
static void static void
acceptCb( int * const socket, acceptCb( int * socket,
tr_address * const addr, tr_address * addr UNUSED,
void * const userData ) void * userData )
{ {
tr_shared * s = ( tr_shared * )userData; tr_shared * s = ( tr_shared * )userData;
tr_address clientAddr; tr_address clientAddr;
@ -216,6 +216,7 @@ sharedPulse( void * vshared )
tr_ninf( getKey( ), _( "Stopped" ) ); tr_ninf( getKey( ), _( "Stopped" ) );
tr_timerFree( &shared->pulseTimer ); tr_timerFree( &shared->pulseTimer );
tr_socketListForEach( shared->bindSockets, &closeCb, shared ); tr_socketListForEach( shared->bindSockets, &closeCb, shared );
tr_socketListFree( shared->bindSockets );
tr_natpmpClose( shared->natpmp ); tr_natpmpClose( shared->natpmp );
tr_upnpClose( shared->upnp ); tr_upnpClose( shared->upnp );
shared->session->shared = NULL; shared->session->shared = NULL;