pull/2518/head
Alessandro Trebbi 11 years ago
parent 244f126ff6
commit c4a63f6a86
  1. 2
      modules/highgui/src/cap_avfoundation.mm

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

Loading…
Cancel
Save