diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-12-19 13:51:09 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-12-19 13:51:09 -0500 |
commit | 51fda684667044e2fe3e56f28137ef5397ef03ee (patch) | |
tree | 76daf7ebc5b525b2ca055ef1c94fdb2f7f50740d | |
parent | 2b320283ef67cc8ea72cf1ef4749206ec112681c (diff) | |
download | dimension-51fda684667044e2fe3e56f28137ef5397ef03ee.tar.xz |
Forgot fclose() in dmnsn_realize_string().
-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; } |