ofQuickTimeGrabber::listDevices memory leak?

Hi!
When I compile the movieGrabber example I get several warnings like this (full output below)

  
2011-10-01 17:09:32.349 movieGrabberExampleDebug[2351:903] *** __NSAutoreleaseNoPool(): Object 0x1410280 of class NSCFArray autoreleased with no pool in place - just leaking  
  

Having a look with the leak tool in instruments seems that there are indeed some leaks in listDevices(), qtSelectDevice and loadSettings (see responsible frame in the attached image)

I haven’t seen anything obvious, but I’m far from familiar with quicktime. Haven’t filed a bug because I might be doing something wrong. If anyone confirms I’ll file a bug in github

Here’s the full output

  
OF: OF_LOG_WARNING: ofBaseVideoGrabber::setPixelFormat not implemented  
2011-10-01 17:09:32.345 movieGrabberExampleDebug[2351:903] Opening shmem segment com.allocinit.CTCtrl2  
2011-10-01 17:09:32.348 movieGrabberExampleDebug[2351:903] Opening shmem segment com.allocinit.CTImg2.0  
2011-10-01 17:09:32.348 movieGrabberExampleDebug[2351:903] Opening shmem segment com.allocinit.CTImg2.1  
2011-10-01 17:09:32.349 movieGrabberExampleDebug[2351:903] *** __NSAutoreleaseNoPool(): Object 0x1410280 of class NSCFArray autoreleased with no pool in place - just leaking  
2011-10-01 17:09:32.391 movieGrabberExampleDebug[2351:903] *** __NSAutoreleaseNoPool(): Object 0x12047e0 of class NSCFNumber autoreleased with no pool in place - just leaking  
2011-10-01 17:09:32.391 movieGrabberExampleDebug[2351:903] *** __NSAutoreleaseNoPool(): Object 0x1204160 of class NSCFNumber autoreleased with no pool in place - just leaking  
2011-10-01 17:09:32.393 movieGrabberExampleDebug[2351:903] *** __NSAutoreleaseNoPool(): Object 0xa0058800 of class NSCFBoolean autoreleased with no pool in place - just leaking  
-------------------------------------  
2011-10-01 17:09:32.931 movieGrabberExampleDebug[2351:903] *** __NSAutoreleaseNoPool(): Object 0xa0058800 of class NSCFBoolean autoreleased with no pool in place - just leaking  
(unavailable) device[0] Blackmagic 2K  
(unavailable) device[1] Blackmagic HD 1080  
(unavailable) device[2] Blackmagic HD 720  
(unavailable) device[3] Blackmagic NTSC/PAL  
(unavailable) device[4] CamTwist  
(unavailable) device[5] DV Video  
(unavailable) device[6] IIDC FireWire Video  
device[7] USB Video Class Video - Built-in iSight  
-------------------------------------  
2011-10-01 17:09:32.991 movieGrabberExampleDebug[2351:903] *** __NSAutoreleaseNoPool(): Object 0xa0058800 of class NSCFBoolean autoreleased with no pool in place - just leaking  
OF: OF_LOG_WARNING: No camera settings to load  

![](http://forum.openframeworks.cc/uploads/default/1864/Screen shot 2011-10-01 at 5.52.15 PM.jpg)

i see this error all the time and don’t understand what exactly is wrong. it’d be great if someone with more quicktime experience could check it out and offer some advice. it’s definitely a bug though.

thanks Kyle. I’ve reported.
j