diff options
Diffstat (limited to 'src/transports/git.c')
| -rw-r--r-- | src/transports/git.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transports/git.c b/src/transports/git.c index a36a0a71c..3a0b86345 100644 --- a/src/transports/git.c +++ b/src/transports/git.c @@ -201,8 +201,8 @@ static int _git_uploadpack_ls( t->current_stream = s; git__free(host); git__free(port); - if (user) git__free(user); - if (pass) git__free(pass); + git__free(user); + git__free(pass); return 0; on_error: @@ -257,8 +257,8 @@ static int _git_receivepack_ls( t->current_stream = s; git__free(host); git__free(port); - if (user) git__free(user); - if (pass) git__free(pass); + git__free(user); + git__free(pass); return 0; on_error: |
