From faeebd06e41f2711ad4b3c99f3f10e5778c8a5cd Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Sun, 6 Nov 2011 19:35:35 -0600 Subject: [PATCH] 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'. --- examples/network/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/network/fetch.c b/examples/network/fetch.c index 35fc3eae4..dd732f22e 100644 --- a/examples/network/fetch.c +++ b/examples/network/fetch.c @@ -119,7 +119,7 @@ int fetch(git_repository *repo, int argc, char **argv) if (error < GIT_SUCCESS) return error; - git__free(packname); + free(packname); git_indexer_free(idx); git_remote_free(remote);