Skip to content

Commit 123f01f

Browse files
committed
stash test: free the reference
1 parent 795a5b2 commit 123f01f

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
@@ -225,6 +225,7 @@ void test_stash_save__untracked_regression(void)
225225

226226
assert_commit_message_contains("refs/stash", "WIP on master");
227227

228+
git_reference_free(head);
228229
git_buf_free(&untracked_dir);
229230
}
230231

0 commit comments

Comments
 (0)