Fix file descriptor leak in HDR decoder

pull/25838/head
Mikhail Khachayants 5 months ago
parent be00247ca0
commit bbf65a166e
  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