aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'clox/src/memory.c')
-rw-r--r--clox/src/memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clox/src/memory.c b/clox/src/memory.c
index b93b6d6..abf1cdd 100644
--- a/clox/src/memory.c
+++ b/clox/src/memory.c
@@ -180,6 +180,7 @@ static void markRoots() {
markTable(&vm.globals);
markCompilerRoots();
+ markObject((Obj *)vm.initString);
}
static void traceReferences() {