diff --git a/modules/imgproc/test/test_floodfill.cpp b/modules/imgproc/test/test_floodfill.cpp index d919b1602c..bb34449fd6 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); }