summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-12-19 13:51:09 -0500
committerTavian Barnes <tavianator@gmail.com>2009-12-19 13:51:09 -0500
commit51fda684667044e2fe3e56f28137ef5397ef03ee (patch)
tree76daf7ebc5b525b2ca055ef1c94fdb2f7f50740d /dimension
parent2b320283ef67cc8ea72cf1ef4749206ec112681c (diff)
downloaddimension-51fda684667044e2fe3e56f28137ef5397ef03ee.tar.xz
Forgot fclose() in dmnsn_realize_string().
Diffstat (limited to 'dimension')
-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;
}