summaryrefslogtreecommitdiff
path: root/diff-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'diff-tree.c')
-rw-r--r--diff-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/diff-tree.c b/diff-tree.c
index fc87902..e8f5d1b 100644
--- a/diff-tree.c
+++ b/diff-tree.c
@@ -370,6 +370,7 @@ static int diff_tree_commit(const unsigned char *commit, const char *name)
}
offset += 48;
}
+ free(buf);
return 0;
}