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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.