From 8807c286c0aa7aab9048484788ff0c8c1d645a8b Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 15 May 2009 02:12:50 +0000 Subject: [PATCH] (trunk libT) fix r8394 oops reported by Ryoujin. hooray for having many eyes --- libtransmission/peer-mgr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtransmission/peer-mgr.c b/libtransmission/peer-mgr.c index 6a3156832..c5adfb94b 100644 --- a/libtransmission/peer-mgr.c +++ b/libtransmission/peer-mgr.c @@ -461,13 +461,13 @@ deleteTimers( struct tr_peerMgr * m ) if( m->bandwidthTimer ) tr_timerFree( &m->bandwidthTimer ); - if( m->rechokeTimer == NULL ) + if( m->rechokeTimer ) tr_timerFree( &m->rechokeTimer ); - if( m->reconnectTimer == NULL ) + if( m->reconnectTimer ) tr_timerFree( &m->reconnectTimer ); - if( m->refillUpkeepTimer == NULL ) + if( m->refillUpkeepTimer ) tr_timerFree( &m->refillUpkeepTimer ); }