memory leak
Daniel Luis dos Santos <[email protected]>
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have some python code in a pyobjc app. At some point I want to initialize a NSString : string = NSString.alloc().init() In the terminal I get the following output : /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() I have in my objective C bootstrap code the creation of an Auto release pool. If I try : string = NSString.alloc().init().autorelease() I get the same warning. Why does this happen ? ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd