Commit faeebd06 by Brandon Casey

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'.
parent 54ccc717
...@@ -119,7 +119,7 @@ int fetch(git_repository *repo, int argc, char **argv) ...@@ -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);
......
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