I have an off-screen rendering setup. I am getting CVPixelBuffers from a visual context, I create CIImages with those buffers and set them on image input ports on a QCRenderer. This renders visually, but the CVPixelBuffers are never released and memory usage grows throughout rendering. If I copy the data from the CVPixelBuffer to an independent buffer (NSData in this case), my memory usage does not grow.
I have checked all my reference counting and it is looks correct. In either case, there is no leak of CIImages so I'm trying to find out if this is an idiosyncrasy related to this type of image with Quartz Compositions or just a plain old bug.
PS: Searching the apple mailing lists seems to be broken, so no joy searching the archives.
Any clues?
-Jon