Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Use --git-dir parameter instead of setting $ENV{'GIT_DIR'}
[gitweb.git]
/
builtin-fmt-merge-msg.c
diff --git
a/builtin-fmt-merge-msg.c
b/builtin-fmt-merge-msg.c
index a5ed8dbbac2a1320e7cf61e16eeccdf5c5cee915..76d22b47ba2906ecb59f0d8e279cf55a80bf8c86 100644
(file)
--- a/
builtin-fmt-merge-msg.c
+++ b/
builtin-fmt-merge-msg.c
@@
-55,8
+55,7
@@
static void free_list(struct list *list)
for (i = 0; i < list->nr; i++) {
free(list->list[i]);
- if (list->payload[i])
- free(list->payload[i]);
+ free(list->payload[i]);
}
free(list->list);
free(list->payload);