summaryrefslogtreecommitdiff
path: root/src/push.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/push.c')
-rw-r--r--src/push.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/push.c b/src/push.c
index 5c8de3339..bd4d872c5 100644
--- a/src/push.c
+++ b/src/push.c
@@ -677,9 +677,7 @@ void git_push_status_free(push_status *status)
if (status == NULL)
return;
- if (status->msg)
- git__free(status->msg);
-
+ git__free(status->msg);
git__free(status->ref);
git__free(status);
}