Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5552237

Browse files
committed
Do not free config when creating remote
The regression was introduced in 2226134
1 parent 7df580f commit 5552237

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/remote.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,6 @@ static int create_internal(git_remote **out, git_repository *repo, const char *n
260260
if (error)
261261
git_remote_free(remote);
262262

263-
git_config_free(config);
264263
git_buf_free(&canonical_url);
265264
git_buf_free(&var);
266265
return error;

0 commit comments

Comments
 (0)