mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
tests: free resources in invalid tag name test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user