Skip to content

Commit

Permalink
iOS: fix crash from overrelease in UIImageToMat
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Weisbach committed Oct 17, 2014
1 parent 32f978f commit 81c0537
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/highgui/src/ios_conversions.mm
Expand Up @@ -113,5 +113,4 @@ void UIImageToMat(const UIImage* image,
CGContextDrawImage(contextRef, CGRectMake(0, 0, cols, rows),
image.CGImage);
CGContextRelease(contextRef);
CGColorSpaceRelease(colorSpace);
}

0 comments on commit 81c0537

Please sign in to comment.