Skip to content

Commit 9621281

Browse files
committed
stash test: free the commit
1 parent 123f01f commit 9621281

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/stash/save.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ void test_stash_save__untracked_regression(void)
226226
assert_commit_message_contains("refs/stash", "WIP on master");
227227

228228
git_reference_free(head);
229+
git_commit_free(head_commit);
229230
git_buf_free(&untracked_dir);
230231
}
231232

0 commit comments

Comments
 (0)