File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ void test_refs_create__symbolic_with_arbitrary_content(void)
9292 cl_assert (git_reference_type (looked_up_ref ) & GIT_REF_SYMBOLIC );
9393 cl_assert (reference_is_packed (looked_up_ref ) == 0 );
9494 cl_assert_equal_s (looked_up_ref -> name , new_head_tracker );
95+ git_reference_free (looked_up_ref );
9596
9697 /* Ensure the target is what we expect it to be */
9798 cl_assert_equal_s (git_reference_symbolic_target (new_reference ), arbitrary_target );
@@ -111,7 +112,6 @@ void test_refs_create__symbolic_with_arbitrary_content(void)
111112 git_repository_free (repo2 );
112113 git_reference_free (new_reference );
113114 git_reference_free (looked_up_ref );
114-
115115}
116116
117117void test_refs_create__deep_symbolic (void )
You can’t perform that action at this time.
0 commit comments