fixed memory leaks in warpAffine tests
(cherry picked from commit b70e27e076)
This commit is contained in:
parent
ba3b902da7
commit
08e38e9ff9
@ -1426,6 +1426,9 @@ TEST(Imgproc_cvWarpAffine, regression)
|
||||
int h = src->height;
|
||||
cv2DRotationMatrix(cvPoint2D32f(w*0.5f, h*0.5f), 45.0, 1.0, &M);
|
||||
cvWarpAffine(src, dst, &M);
|
||||
|
||||
cvReleaseImage(&src);
|
||||
cvReleaseImage(&dst);
|
||||
}
|
||||
|
||||
TEST(Imgproc_fitLine_vector_3d, regression)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user