diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 82536359d6738463a8173f8100355117c825ec58..d3360ac1f8bf13a00f90d9f385d69b628471a95d 100644 (file)
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
return;
}
if (progress > pack_to_stdout)
- fprintf(stderr, "Delta compression using %d threads.\n",
+ fprintf(stderr, "Delta compression using up to %d threads.\n",
delta_search_threads);
/* Partition the work amongst work threads. */
add_preferred_base_object(p->name);
add_object_entry(p->item->sha1, p->item->type, p->name, 0);
p->item->flags |= OBJECT_ADDED;
+ free((char *)p->name);
+ p->name = NULL;
}
static void show_edge(struct commit *commit)