Commit 9c5d4b2e by Carlos Martín Nieto

remote: fix a leak when dwim'ing refspecs

parent 1ffd0806
...@@ -692,6 +692,7 @@ static int dwim_refspecs(git_vector *refspecs, git_vector *refs) ...@@ -692,6 +692,7 @@ static int dwim_refspecs(git_vector *refspecs, git_vector *refs)
spec->dwim = 1; spec->dwim = 1;
} }
git_buf_free(&buf);
return 0; return 0;
} }
......
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