Commit 55473987 authored by Ilya Lavrenov's avatar Ilya Lavrenov Committed by Dikay900

fixed memory leaks in warpAffine tests

parent 7eba9055
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment