Commit 96a2edb3 authored by Ilya Lavrenov's avatar Ilya Lavrenov Committed by Alexander Smorkalov

delete video readers

(cherry picked from commit 0d5b739d)
parent 15b313ce
......@@ -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
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