Commit a921761d authored by Maksim Shabunin's avatar Maksim Shabunin

Coverity: memory leak in OpenEXR reader

parent f8142186
......@@ -381,6 +381,11 @@ bool ExrDecoder::readData( Mat& img )
close();
if( !m_native_depth || (!color && m_iscolor ))
{
delete[] buffer;
}
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment