Do not free config when creating remote

The regression was introduced in 22261344
parent 7df580fa
......@@ -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;
......
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