diff options
Diffstat (limited to 'dimension/realize.c')
-rw-r--r-- | dimension/realize.c | 6 |
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; } |