Coverity: memory leak in OpenEXR reader

This commit is contained in:
Maksim Shabunin 2015-12-08 15:52:21 +03:00
parent f814218640
commit a921761d18

View File

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