summaryrefslogtreecommitdiffstats
path: root/chksum.c
diff options
context:
space:
mode:
Diffstat (limited to 'chksum.c')
-rw-r--r--chksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chksum.c b/chksum.c
index ad12d7d4..215d4f57 100644
--- a/chksum.c
+++ b/chksum.c
@@ -97,7 +97,7 @@ static val chksum_ensure_buf(val self, val buf_in,
{
if (null_or_missing_p(buf_in)) {
*phash = chk_malloc(c_unum(len, self));
- return make_borrowed_buf(len, *phash);
+ return make_owned_buf(len, *phash);
} else {
*phash = buf_get(buf_in, self);
if (lt(length_buf(buf_in), len))