# HG changeset patch # User Jens Alfke # Date 1242509046 25200 # Node ID 2b4ad206707487ada627742a46dbb297a2fe38e5 # Parent 60f2b46d9a3bbd841e1860b859d811d0e8892d2c Yuck -- [TCPConnection initToBonjourService:] was releasing the wrong object, the BonjourService, causing it to dealloc and eventually crash. Fixes #10. diff -r 60f2b46d9a3b -r 2b4ad2067074 TCP/TCPConnection.m --- a/TCP/TCPConnection.m Sat May 16 14:10:15 2009 -0700 +++ b/TCP/TCPConnection.m Sat May 16 14:24:06 2009 -0700 @@ -107,7 +107,7 @@ NSNetService *netService = [[NSNetService alloc] initWithDomain: service.domain type: service.type name: service.name]; self = [self initToNetService: netService]; - [service release]; + [netService release]; return self; }