Merge pull request #14805 from alalek:fix_valgrind_issues

This commit is contained in:
Alexander Alekhin 2019-06-14 14:15:00 +00:00
commit cf9bddcb89
2 changed files with 10 additions and 0 deletions

View File

@ -437,6 +437,7 @@ Ptr<IVideoWriter> create_Images_writer(const std::string &filename, int, double,
{
if( writer->open( filename.c_str() ))
return makePtr<LegacyWriter>(writer);
delete writer;
}
catch (...)
{

View File

@ -226,3 +226,12 @@
fun:_ZN20CvVideoWriter_FFMPEG10writeFrameEPKhiiiii
fun:cvWriteFrame_FFMPEG
}
{
OpenCV-test-gapi-thread-tls
Memcheck:Leak
match-leak-kinds: possible
fun:calloc
fun:allocate_dtv
fun:_dl_allocate_tls
}