• 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: Leaking images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leaking images


  • Subject: Re: Leaking images
  • From: John Timmer <email@hidden>
  • Date: Fri, 21 Feb 2003 10:39:50 -0500

Sorry, I found the problem. Elsewhere, I was doing a:

NSImageRep *tempRep = [weatherImage bestRepresentationForDevice:nil];

In the midst of trying to track down the memory leak, I tried releasing
tempRep , and forgot to delete that statement after finding it made no
difference. Anyway, that was releasing part of the NSImage, which is why
doing anything with the NSImage was causing so much trouble.

Thanks to everyone who tried to help.

John
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Leaking images (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: SIGPIPE while printing ! Please help !!
  • Next by Date: Re: 3 IB Qs: actions; view tags; NSWindow setFrame
  • Previous by thread: Re: Leaking images
  • Next by thread: Re: Leaking images
  • Index(es):
    • Date
    • Thread