valgrind: fix issues

pull/14805/head
Alexander Alekhin 6 years ago
parent 81fad9e247
commit 3af1b6ecdc
  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() ))
return makePtr<LegacyWriter>(writer);
delete writer;
}
catch (...)
{

@ -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
}

Loading…
Cancel
Save