Re: [Pyobjc-dev] memory leak
Brought to you by:
ronaldoussoren
From: Greg E. <gre...@ca...> - 2011-05-08 21:56:30
|
Daniel Luis dos Santos wrote: > string = NSString.alloc().init() > > /Users/dlsa/code/cirrusstore/client/build/cirrusclient.app/Contents/Resources/menubaractions.py:44: UninitializedDeallocWarning: leaking an uninitialized object of type NSPlaceholderString > string = NSString.alloc().init() Python strings get converted to NSStrings automatically where needed, so is there some reason you can't use an empty Python string instead? -- Greg |