From 276e47afae560b233d16824a1f9067fa66de0848 Mon Sep 17 00:00:00 2001 From: abratchik Date: Sun, 26 Feb 2017 15:14:34 +0400 Subject: [PATCH] fix #7833 --- modules/videoio/src/cap_avfoundation_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/src/cap_avfoundation_mac.mm b/modules/videoio/src/cap_avfoundation_mac.mm index ce6e3d074c..225e2fad62 100644 --- a/modules/videoio/src/cap_avfoundation_mac.mm +++ b/modules/videoio/src/cap_avfoundation_mac.mm @@ -293,7 +293,7 @@ void CvCaptureCAM::stopCaptureDevice() { [mCaptureSession release]; [mCaptureDeviceInput release]; - [mCaptureDevice release]; + // [mCaptureDevice release]; fix #7833 [mCaptureVideoDataOutput release]; [mCapture release];