Merge pull request #2521 from atrebbi:#3620

pull/2498/merge
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit 8af175b81b
  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