]> granicus.if.org Git - transmission/commitdiff
(trunk libT) yet another step in the debugging cycle, crash report from ZogG and...
authorCharles Kerr <charles@transmissionbt.com>
Mon, 5 Jan 2009 07:57:10 +0000 (07:57 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Mon, 5 Jan 2009 07:57:10 +0000 (07:57 +0000)
libtransmission/peer-mgr.c

index 8506e345321c657f6916b02c81945d12336bc9e3..aa618d7dcebcafb8a04604c108fdd04260a2abe2 100644 (file)
@@ -355,6 +355,7 @@ peerDestructor( tr_peer * peer )
         tr_peerMsgsFree( peer->msgs );
     }
 
+    tr_peerIoSetIOFuncs( peer->io, NULL, NULL, NULL, NULL );
     tr_peerIoUnref( peer->io ); /* balanced by the ref in handshakeDoneCB() */
 
     tr_bitfieldFree( peer->have );