libmpm

morphux C package management library
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/libmpm

commit 1b8953078af7a5d7d46aa1c4f0b23a68a7f6d772
parent 7086cf98f966ee265c96f1f121dbdb5f4a1ef0e0
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Wed, 26 Jul 2017 16:14:21 +0200

Fix(Tests): Free-after-use

Diffstat:
Mtests/test_packer_file.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/tests/test_packer_file.c b/tests/test_packer_file.c @@ -5,6 +5,7 @@ TEST(read_files_from_dir) { set_stat_fail(0); TEST_ASSERT(read_files_from_dir("/tmp/", &files, &dirs) == false, "Error did not raise"); + list_free(dirs, free); return TEST_SUCCESS; }