Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
tests: fix memory leak in meta test
Browse files Browse the repository at this point in the history
  • Loading branch information
lawli3t committed Sep 15, 2021
1 parent 0281a14 commit 257faf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/abi/testabi_meta.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ static void test_null_pointer (void)

succeed_if (keySetMeta (0, "test", "test"), "Could set metadata to NULL Key");
succeed_if (keySetMeta (key, 0, "test"), "Could set metadata with NULL metaName");

keyDel (key);
}

static void test_iterate (void)
Expand Down

0 comments on commit 257faf8

Please sign in to comment.