diff options
author | yuangli <yuangli@mathworks.com> | 2022-07-11 15:53:35 +0100 |
---|---|---|
committer | yuangli <yuangli@mathworks.com> | 2022-07-11 15:53:35 +0100 |
commit | 1912f145e1e183f850d7611c0bc7e609cbc0a87a (patch) | |
tree | 30b431848d274ee3269887ca83a001f14dffdc31 | |
parent | 7456e819341c56f301852ede0770c203e1dfee1f (diff) | |
download | libgit2-1912f145e1e183f850d7611c0bc7e609cbc0a87a.tar.gz |
tests: free resources in invalid tag name test
-rw-r--r-- | tests/object/tag/write.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/object/tag/write.c b/tests/object/tag/write.c index 118f39894..4690fd83e 100644 --- a/tests/object/tag/write.c +++ b/tests/object/tag/write.c @@ -273,4 +273,7 @@ void test_object_tag_write__error_when_create_tag_with_invalid_name(void) git_tag_create(&tag_id, g_repo, "-dash", target, tagger, tagger_message, 0) ); + + git_object_free(target); + git_signature_free(tagger); } |