mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-23 06:56:27 +00:00
Do not free config when creating remote
The regression was introduced in 22261344de
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user