From: Martin Wilck <mwilck@xxxxxxxx> Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- tests/alias.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/alias.c b/tests/alias.c index 22ffd55..5624138 100644 --- a/tests/alias.c +++ b/tests/alias.c @@ -652,6 +652,7 @@ static void al_a(void **state) alias = allocate_binding(0, "WWIDa", 1, "MPATH"); assert_ptr_not_equal(alias, NULL); assert_string_equal(alias, "MPATHa"); + free(alias); } static void al_zz(void **state) @@ -668,6 +669,7 @@ static void al_zz(void **state) alias = allocate_binding(0, "WWIDzz", 26*26 + 26, "MPATH"); assert_ptr_not_equal(alias, NULL); assert_string_equal(alias, "MPATHzz"); + free(alias); } static void al_0(void **state) -- 2.28.0 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel