Merge pull request #3340 from AdLantis:2.4
This commit is contained in:
commit
1ce31dcd62
@ -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);
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user