Closed dlemstra closed 2 weeks ago
Inside the reset method of the decoder_context the following is done:
reset
decoder_context
dpb.clear(); nal_parser.remove_pending_input_data();
Should this not also be done inside the destructor of decoder_context? We are getting an oss-fuzz error report about memory leaks of NAL_unit in the oss-fuzz tooling of @ImageMagick and it looks like it is happening because of this?
NAL_unit
Belongs to libde265, not libheif. I've copied it over to there.
Inside the
reset
method of thedecoder_context
the following is done:Should this not also be done inside the destructor of
decoder_context
? We are getting an oss-fuzz error report about memory leaks ofNAL_unit
in the oss-fuzz tooling of @ImageMagick and it looks like it is happening because of this?