Commit 1ce31dcd authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3340 from AdLantis:2.4

parents 32f978ff 81c0537b
...@@ -113,5 +113,4 @@ void UIImageToMat(const UIImage* image, ...@@ -113,5 +113,4 @@ void UIImageToMat(const UIImage* image,
CGContextDrawImage(contextRef, CGRectMake(0, 0, cols, rows), CGContextDrawImage(contextRef, CGRectMake(0, 0, cols, rows),
image.CGImage); image.CGImage);
CGContextRelease(contextRef); CGContextRelease(contextRef);
CGColorSpaceRelease(colorSpace);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment