mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-20 13:17:49 +00:00
remote: fix a leak when dwim'ing refspecs
This commit is contained in:
parent
1ffd0806f4
commit
9c5d4b2e80
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user