lib

morphux C utility library
Log | Files | Refs | Submodules | README | LICENSE | git clone https://git.ne02ptzero.me/git/lib

commit cdbc87380c5f01b64fd535edb396e8dd9da64ab2
parent e8af86eb3f7db311003da457cf0f8adaefbe2c75
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Fri, 16 Jun 2017 11:40:10 +0200

Fix(Tests): Forgotten free in tests

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

diff --git a/tests/test_list.c b/tests/test_list.c @@ -269,6 +269,7 @@ TEST(vector_string_init) { TEST_ASSERT(strcmp(tmp->str1, s1) == 0, "Strings are not the same"); TEST_ASSERT(strcmp(tmp->str2, s2) == 0, "Strings are not the same"); vector_string_free(tmp); + free(tmp); return TEST_SUCCESS; }