Merge branch 'mg/verify-commit'
[gitweb.git] / builtin / merge.c
index b49c310866f76434c3838484c0bf997a1230c7ed..86e9c61277990e2999d678af95824d5aec0b3df0 100644 (file)
@@ -1282,10 +1282,7 @@ int cmd_merge(int argc, const char **argv, const char *prefix)
                                printf(_("Commit %s has a good GPG signature by %s\n"),
                                       hex, signature_check.signer);
 
-                       free(signature_check.gpg_output);
-                       free(signature_check.gpg_status);
-                       free(signature_check.signer);
-                       free(signature_check.key);
+                       signature_check_clear(&signature_check);
                }
        }