Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an ancient memleak on %caps() parsing, add tests
This leak has been there ever since rpm 4.7.0, so pretty close to 15 years. ASAN would've caught it, if it had it been tested. Oops. Of course, in the fakechroot era we couldn't have tested installation but we could've at least tested the parsing side. Add tests for parsing, query and install functionality, and fix the leak that is now very visible.
- Loading branch information