• 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: what the hell is Error (1007) creating CGSWindow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what the hell is Error (1007) creating CGSWindow?


  • Subject: Re: what the hell is Error (1007) creating CGSWindow?
  • From: Joe Ranieri <email@hidden>
  • Date: Thu, 15 Jan 2009 00:13:53 -0500

NSDictionary* dict = [NSDictionary dictionaryWithObjectsAndKeys:font, NSFontAttributeName, self.textColor, NSForegroundColorAttributeName, nil];
NSAttributedString* aStr = [[[NSAttributedString alloc] initWithString:str attributes:dict] autorelease];

NSImage* image = [[NSImage alloc] initWithSize:imgSize];

You're leaking this NSImage.

-- Joe Ranieri
_______________________________________________

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


  • Follow-Ups:
    • Re: what the hell is Error (1007) creating CGSWindow?
      • From: Michael B Johnson <email@hidden>
References: 
 >what the hell is Error (1007) creating CGSWindow? (From: Michael B Johnson <email@hidden>)

  • Prev by Date: what the hell is Error (1007) creating CGSWindow?
  • Next by Date: Re: what the hell is Error (1007) creating CGSWindow?
  • Previous by thread: what the hell is Error (1007) creating CGSWindow?
  • Next by thread: Re: what the hell is Error (1007) creating CGSWindow?
  • Index(es):
    • Date
    • Thread