Fixed a small leak of an NSString object.
authorDan Preston <danpreston@codechemistry.com>
Tue May 05 15:40:36 2009 -0700 (2009-05-05)
changeset 410fa1fcf07d87
parent 40 423c134d3205
child 42 c1cf9df64c70
Fixed a small leak of an NSString object.
iPhone/Classes/MyViewController.m
     1.1 --- a/iPhone/Classes/MyViewController.m	Tue May 05 15:27:20 2009 -0700
     1.2 +++ b/iPhone/Classes/MyViewController.m	Tue May 05 15:40:36 2009 -0700
     1.3 @@ -95,6 +95,7 @@
     1.4      NSString *message = [[NSString alloc] initWithData: request.body encoding: NSUTF8StringEncoding];
     1.5      label.text = [NSString stringWithFormat: @"Echoed:\nā€œ%@ā€",message];
     1.6      [request respondWithData: request.body contentType: request.contentType];
     1.7 +	[message release];
     1.8  }
     1.9  
    1.10  - (void) connectionDidClose: (TCPConnection*)connection;