summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
Diffstat (limited to 'builtin')
-rw-r--r--builtin/cat-file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/cat-file.c b/builtin/cat-file.c
index 6b65f56f44..1fdb980258 100644
--- a/builtin/cat-file.c
+++ b/builtin/cat-file.c
@@ -304,6 +304,7 @@ static int batch_objects(struct batch_options *opt)
break;
}
+ strbuf_release(&buf);
return retval;
}