summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--byterun/weak.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/byterun/weak.c b/byterun/weak.c
index 00ee453af..3b6516123 100644
--- a/byterun/weak.c
+++ b/byterun/weak.c
@@ -32,6 +32,7 @@ value weak_create (len) /* ML */
for (i = 1; i < size; i++) Field (res, i) = 0;
Field (res, 0) = weak_list_head;
weak_list_head = res;
+ return res;
}
#define None_val 1