Unverified Commit e6444dac by Edward Thomson Committed by GitHub

Merge pull request #4677 from libgit2/ethomson/memleaks

Stop leaking the memory
parents 795a5b28 96212813
......@@ -225,6 +225,8 @@ void test_stash_save__untracked_regression(void)
assert_commit_message_contains("refs/stash", "WIP on master");
git_reference_free(head);
git_commit_free(head_commit);
git_buf_free(&untracked_dir);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment