Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
4.6.0
-
None
-
Mac OS X 10.6.2 on Intel 64-bit, using Cocoa port and compiling for 64-bit code (with default g++ = g++-4.2 compiler).
Description
For any application I compile with Qt 4.6 on Mac OS X Snow Leopard (64-bit Cocoa version), I get warnings such as the following on the console when running the app:
2009-12-11 14:10:19.992 simple_app[592:903] *** __NSAutoreleaseNoPool(): Object 0x101216130 of class NSCFNumber autoreleased with no pool in place - just leaking
By setting a breakpoint on __NSAutoreleaseNoPool(), I could confirm this is called from qt_init(). Probably an autorelease pool should be set up earlier in the code path (if it is currently set up at all).