It is safe to free() a NULL pointer
diff --git a/src/push.c b/src/push.c
index 5c8de33..bd4d872 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);
}