remote: fix a leak when dwim'ing refspecs

This commit is contained in:
Carlos Martín Nieto 2013-04-30 12:05:16 +02:00
parent 1ffd0806f4
commit 9c5d4b2e80

View File

@ -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;
} }