mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-18 20:03:24 +00:00
examples/network/fetch.c: revert overzealous conversion of free to git__free
Since git__free is not exported (it's actually a macro), it should not be used in client programs. Change this call to 'git__free' back to 'free'.
This commit is contained in:
parent
54ccc71786
commit
faeebd06e4
@ -119,7 +119,7 @@ int fetch(git_repository *repo, int argc, char **argv)
|
|||||||
if (error < GIT_SUCCESS)
|
if (error < GIT_SUCCESS)
|
||||||
return error;
|
return error;
|
||||||
|
|
||||||
git__free(packname);
|
free(packname);
|
||||||
git_indexer_free(idx);
|
git_indexer_free(idx);
|
||||||
git_remote_free(remote);
|
git_remote_free(remote);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user