Merge pull request #14805 from alalek:fix_valgrind_issues

pull/14741/head^2
Alexander Alekhin 6 years ago
commit cf9bddcb89
  1. 1
      modules/videoio/src/cap_images.cpp
  2. 9
      platforms/scripts/valgrind.supp

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

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

Loading…
Cancel
Save