Coverity: memory leak in OpenEXR reader

pull/5774/head
Maksim Shabunin 9 years ago
parent f814218640
commit a921761d18
  1. 5
      modules/imgcodecs/src/grfmt_exr.cpp

@ -381,6 +381,11 @@ bool ExrDecoder::readData( Mat& img )
close();
if( !m_native_depth || (!color && m_iscolor ))
{
delete[] buffer;
}
return result;
}

Loading…
Cancel
Save