X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff-tree.c;h=e8f5d1b126179c705f6463c25216d90e3e376848;hb=0493a3fd5204a36bc961a8611770ddb9ec1ed8ed;hp=fc87902a3d2e6a53a619d603993a73893d4a4ae8;hpb=d288a70030eaa5c205a72b4548635e17f8e523c0;p=git.git diff --git a/diff-tree.c b/diff-tree.c index fc87902a..e8f5d1b1 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; }