1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #3714 from uqtimes:fixUIImageToMat

This commit is contained in:
Vadim Pisarevsky
2015-02-18 13:49:14 +00:00
-1
View File
@@ -120,5 +120,4 @@ void UIImageToMat(const UIImage* image,
CGContextDrawImage(contextRef, CGRectMake(0, 0, cols, rows),
image.CGImage);
CGContextRelease(contextRef);
CGColorSpaceRelease(colorSpace);
}