Skip navigation.
 
mlRe: NSURLRequest : Unable to Quit App after Syn call to Server.
FROM : Dominik Pich
DATE : Sat May 17 21:23:26 2008

>>>      // -----------------------
>>>      // 4)  Convert Synchronous Data into Human-Readable String 
>>> (Unicode 8) format:
>>>      NSString *serverDataString = [[[NSString alloc] 
>>> initWithData:serverData encoding:NSUTF8StringEncoding] retain];

>>
>> This is an extra retain.
>>

>>>      [[soapResponse layoutManager]replaceTextStorage:
>>> [[NSTextStorage alloc] initWithString:serverDataString]];


you also leak the allocated NSTextStorage and in consquence every 
serverDataString

Related mailsAuthorDate
mlNSURLRequest : Unable to Quit App after Syn call to Server. fclee May 15, 23:21
mlRe: NSURLRequest : Unable to Quit App after Syn call to Server. Jens Alfke May 16, 02:56
mlRe: NSURLRequest : Unable to Quit App after Syn call to Server. fclee May 16, 15:32
mlRe: NSURLRequest : Unable to Quit App after Syn call to Server. stephen joseph but… May 16, 16:53
mlRe: NSURLRequest : Unable to Quit App after Syn call to Server. Frederick C. Lee May 17, 20:58
mlRe: NSURLRequest : Unable to Quit App after Syn call to Server. Dominik Pich May 17, 21:23