summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 41bf5e8f..f1079030 100644
--- a/lib.c
+++ b/lib.c
@@ -1853,7 +1853,9 @@ val lazy_str(val lst, val term, val limit)
{
val obj = make_obj();
obj->ls.type = LSTR;
- obj->ls.opts = nil; /* Must init before calling something that can gc! */
+
+ /* Must init before calling something that can gc! */
+ obj->ls.opts = obj->ls.list = obj->ls.prefix = nil;
term = or2(term, string(L"\n"));