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 //cleanup
CFRelease(cfData);
CVPixelBufferRelease(pixelBuffer);
CGImageRelease(cgImage); CGImageRelease(cgImage);
CGDataProviderRelease(provider); CGDataProviderRelease(provider);
CGColorSpaceRelease(colorSpace); CGColorSpaceRelease(colorSpace);

Loading…
Cancel
Save