summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
Diffstat (limited to 'fast-import.c')
-rw-r--r--fast-import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fast-import.c b/fast-import.c
index 1842d0738b..311db4e6d5 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -516,6 +516,7 @@ static struct tree_entry* new_tree_entry()
if (!avail_tree_entry) {
unsigned int n = tree_entry_alloc;
+ total_allocd += n * sizeof(struct tree_entry);
avail_tree_entry = e = xmalloc(n * sizeof(struct tree_entry));
while (n--) {
*((void**)e) = e + 1;