Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pack-write.c')
-rw-r--r--pack-write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pack-write.c b/pack-write.c
index 9c37121be3..381555359c 100644
--- a/pack-write.c
+++ b/pack-write.c
@@ -570,6 +570,8 @@ void stage_tmp_packfiles(struct strbuf *name_buffer,
rename_tmp_packfile(name_buffer, rev_tmp_name, "rev");
if (mtimes_tmp_name)
rename_tmp_packfile(name_buffer, mtimes_tmp_name, "mtimes");
+
+ free((char *)rev_tmp_name);
}
void write_promisor_file(const char *promisor_name, struct ref **sought, int nr_sought)