Merge pull request #25838 from tyler92:fix-fd-leak

Fix file descriptor leak in HDR decoder
pull/25807/head^2
Alexander Smorkalov 11 months ago committed by GitHub
commit 25609ef5fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      modules/imgcodecs/src/grfmt_hdr.cpp

@ -59,6 +59,9 @@ HdrDecoder::HdrDecoder()
HdrDecoder::~HdrDecoder()
{
if(file) {
fclose(file);
}
}
size_t HdrDecoder::signatureLength() const

Loading…
Cancel
Save