Skip to content

Commit

Permalink
Fix tag test memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
PJK committed Feb 3, 2024
1 parent 70de718 commit 1647bce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/tag_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ static void test_all_tag_values_supported(void **_CBOR_UNUSED(_state)) {
assert_null(tag);
cbor_decref(&tag_item);
assert_null(tag_item);
free(serialized_tag);
}
}

Expand Down

0 comments on commit 1647bce

Please sign in to comment.