Commit d1aee477 by nulltoken

clone: Fix a memory leak

parent 09556895
...@@ -333,6 +333,7 @@ static int setup_remotes_and_fetch( ...@@ -333,6 +333,7 @@ static int setup_remotes_and_fetch(
} }
git_remote_disconnect(origin); git_remote_disconnect(origin);
} }
git_remote_free(origin);
} }
return retcode; return retcode;
......
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