Commit f9921ad7 by Edward Thomson Committed by GitHub

Merge pull request #4224 from yuyichao/push-free-config

Do not free config when creating remote
parents 7df580fa 55522376
...@@ -260,7 +260,6 @@ on_error: ...@@ -260,7 +260,6 @@ on_error:
if (error) if (error)
git_remote_free(remote); git_remote_free(remote);
git_config_free(config);
git_buf_free(&canonical_url); git_buf_free(&canonical_url);
git_buf_free(&var); git_buf_free(&var);
return error; return error;
......
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