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

Do not free config when creating remote
This commit is contained in:
Edward Thomson 2017-05-01 15:19:41 +01:00 committed by GitHub
commit f9921ad7c9

View File

@ -260,7 +260,6 @@ on_error:
if (error)
git_remote_free(remote);
git_config_free(config);
git_buf_free(&canonical_url);
git_buf_free(&var);
return error;