diff options
Diffstat (limited to 'builtin-fast-export.c')
-rwxr-xr-x | builtin-fast-export.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/builtin-fast-export.c b/builtin-fast-export.c index f741df5220..49b54de054 100755 --- a/builtin-fast-export.c +++ b/builtin-fast-export.c @@ -196,8 +196,7 @@ static void handle_commit(struct commit *commit, struct rev_info *rev) ? strlen(reencoded) : message ? strlen(message) : 0), reencoded ? reencoded : message ? message : ""); - if (reencoded) - free(reencoded); + free(reencoded); for (i = 0, p = commit->parents; p; p = p->next) { int mark = get_object_mark(&p->item->object); |