mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
fixed memory leaks in warpAffine tests
This commit is contained in:
parent
7eba9055e0
commit
5547398786
@ -1383,6 +1383,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