The kvazaar plugin has some memory leaks. In particular, the data chunks returned from kvazaar as encoded image are not freed in all cases. See  See https://github.com/strukturag/libheif/pull/1141 for a possible fix.
Memory leaks when encoding with kvazaar
This is a GitHub Issue
repo:libheif
owner:strukturag
Title : Memory leaks when encoding with kvazaar
Issue date:

--- start body ---
The kvazaar plugin has some memory leaks. In particular, the data chunks returned from kvazaar as encoded image are not freed in all cases. See  See https://github.com/strukturag/libheif/pull/1141 for a possible fix.
--- end body ---
