fixed memory leaks in floodfill tests

This commit is contained in:
Ilya Lavrenov 2015-08-15 10:09:31 +03:00
parent b2489d31d6
commit d1b882ddcf

View File

@ -501,6 +501,8 @@ _exit_:
comp[6] = s1; comp[6] = s1;
comp[7] = s2; comp[7] = s2;
comp[8] = 0; comp[8] = 0;
cvReleaseMemStorage(&st);
} }