Merge pull request #30 from kboda/master

iOS: Release imageRef in snapStillImage
This commit is contained in:
Ran 2017-04-06 10:15:07 +03:00 committed by GitHub
commit 8e1c416624

View File

@ -534,6 +534,8 @@ RCT_ENUM_CONVERTER(CKCameraZoomMode, (@{
}
}
}];
CGImageRelease(imageRef);
}
else {
//NSLog( @"Could not capture still image: %@", error );