This commit is contained in:
Alessandro Trebbi 2014-03-23 22:00:16 +01:00
parent 244f126ff6
commit c4a63f6a86

View File

@ -1313,6 +1313,8 @@ bool CvVideoWriter_AVFoundation::writeFrame(const IplImage* iplimage) {
}
//cleanup
CFRelease(cfData);
CVPixelBufferRelease(pixelBuffer);
CGImageRelease(cgImage);
CGDataProviderRelease(provider);
CGColorSpaceRelease(colorSpace);