• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSURLRequest : Unable to Quit App after Syn call to Server.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLRequest : Unable to Quit App after Syn call to Server.


  • Subject: Re: NSURLRequest : Unable to Quit App after Syn call to Server.
  • From: Dominik Pich <email@hidden>
  • Date: Sat, 17 May 2008 21:23:26 +0200

// -----------------------
// 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
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSURLRequest : Unable to Quit App after Syn call to Server. (From: email@hidden)
 >Re: NSURLRequest : Unable to Quit App after Syn call to Server. (From: "stephen joseph butler" <email@hidden>)
 >Re: NSURLRequest : Unable to Quit App after Syn call to Server. (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: Storing PDF selection
  • Next by Date: Re: QTKitPlayer and IB 3.0
  • Previous by thread: Re: NSURLRequest : Unable to Quit App after Syn call to Server.
  • Next by thread: Re: NSURLRequest : Unable to Quit App after Syn call to Server.
  • Index(es):
    • Date
    • Thread