I wasn't 99% sure we need to free the filters so early since we're passing them to the functions that manipulate the streams,
but having a look at various other code using lzma they also free them very early and the fact that everything still works is also a good indicator
Details
Details
- Reviewers
- None
- Commits
- R243:38b2ca728c83: Fix memory leak in KXzFilter::init
Before valgrind --leak-check=full karchivetest gave memory leaks, now it does not
Diff Detail
Diff Detail
- Repository
- R243 KArchive
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 18150 Build 18168: arc lint + arc unit