From 7eba9055e0a81f975399ec09089f32884f1ec91f Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Sat, 15 Aug 2015 10:09:31 +0300 Subject: [PATCH] fixed memory leaks in floodfill tests --- modules/imgproc/test/test_floodfill.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/imgproc/test/test_floodfill.cpp b/modules/imgproc/test/test_floodfill.cpp index d919b1602..bb34449fd 100644 --- a/modules/imgproc/test/test_floodfill.cpp +++ b/modules/imgproc/test/test_floodfill.cpp @@ -508,6 +508,8 @@ _exit_: comp[7] = new_val.val[2]; #endif comp[8] = 0; + + cvReleaseMemStorage(&st); }