The -connect: method would leak memory when called more than once
authorCiarĂ¡n Walsh <git@ciaranwal.sh>
Wed, 25 Jun 2008 00:00:43 +0000 (01:00 +0100)
committerRobert Sesek <rsesek@bluestatic.org>
Mon, 14 Jul 2008 12:55:18 +0000 (08:55 -0400)
commitafc6e4af264e1e166c911803a15cbf15ba998e64
tree12d7a7eb81b9ed1efc1e91536618d45ae63e7e2b
parent8b5cc15679da47be2795ab5a4dcbab062084f7a9
The -connect: method would leak memory when called more than once

* Source/SocketWrapper.m: Add a private prop for the hostname
(remoteHost): Removed through use of a prop
(connect:): Change from alloc'ing an NSString to creating an autorelease'd one
Source/SocketWrapper.m