[PATCH] Re-organize "git-rev-list --objects" logic
[gitweb.git] / diff-tree.c
index fc87902a3d2e6a53a619d603993a73893d4a4ae8..e8f5d1b126179c705f6463c25216d90e3e376848 100644 (file)
@@ -370,6 +370,7 @@ static int diff_tree_commit(const unsigned char *commit, const char *name)
                }
                offset += 48;
        }
+       free(buf);
        return 0;
 }