summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 4ad63431..c52f9575 100644
--- a/lib.c
+++ b/lib.c
@@ -5230,7 +5230,7 @@ val string_finish(val str)
alloc = len + 1;
str->st.str = chk_wrealloc(str->st.str, alloc);
#if !HAVE_MALLOC_USABLE_SIZE
- set(mkloc(str->st.alloc, str), num(alloc));
+ str->st.alloc = alloc;
#endif
}
}