Skip to content

Make tests pass and introduce a memory leak

Fredrik Gustafsson requested to merge fredrigu/apk-tools:fix_tests into master

Since 37fbafcd the tests hasn't worked since a string on the stack was added as version for a virtual package. Instead create the version string on the heap and then simply leak it. A short running program as apk shouldn't need to worry about memory leaks.

Edited by Fredrik Gustafsson

Merge request reports

Loading