t / t5100 / patch0010on commit update-index: fix a memleak (1b7cb89)
   1---
   2 builtin-mailinfo.c | 2 +-
   3 1 files changed, 1 insertions(+), 1 deletions(-)
   4
   5diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
   6index 962aa34..2d1520f 100644
   7--- a/builtin-mailinfo.c
   8+++ b/builtin-mailinfo.c
   9@@ -334,7 +334,7 @@ static int check_header(char *line, unsigned linesize, char **hdr_data, int over
  10                return 1;
  11        if (!memcmp("[PATCH]", line, 7) && isspace(line[7])) {
  12                for (i = 0; header[i]; i++) {
  13-                       if (!memcmp("Subject: ", header[i], 9)) {
  14+                       if (!memcmp("Subject", header[i], 7)) {
  15                                if (! handle_header(line, hdr_data[i], 0)) {
  16                                        return 1;
  17                                }
  18-- 
  191.5.6.2.455.g1efb2
  20