summaryrefslogtreecommitdiffstats
path: root/dimension/realize.c
diff options
context:
space:
mode:
Diffstat (limited to 'dimension/realize.c')
-rw-r--r--dimension/realize.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/dimension/realize.c b/dimension/realize.c
index bbbe4e7..a4b8df5 100644
--- a/dimension/realize.c
+++ b/dimension/realize.c
@@ -628,5 +628,9 @@ dmnsn_realize_string(const char *str)
if (!file) {
return NULL;
}
- return dmnsn_realize(file, "<string>");
+
+ dmnsn_scene *scene = dmnsn_realize(file, "<string>");
+
+ fclose(file);
+ return scene;
}