delete video readers

This commit is contained in:
Ilya Lavrenov 2015-10-12 00:37:46 +03:00
parent 454e5e5fa4
commit 0d5b739d35

View File

@ -396,6 +396,10 @@ TEST(Highgui_Video_parallel_writers_and_readers, accuracy)
if (code == 1)
std::cerr << "Couldn't delete " << *i << std::endl;
}
// delete the readers
for (std::vector<VideoCapture *>::iterator i = readers.begin(), end = readers.end(); i != end; ++i)
delete *i;
}
#endif