summaryrefslogtreecommitdiffstats
path: root/libdimension/object.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-02-25 15:27:53 -0500
committerTavian Barnes <tavianator@gmail.com>2010-02-25 15:27:53 -0500
commit9e117cb576f55e3215cb46dcd8d2ad3b52124eb4 (patch)
tree7d0e8056fcb4d3c01415c6121712c552f089d882 /libdimension/object.c
parent378e41292f27cf74333d82cae8fb5c0584a84442 (diff)
downloaddimension-9e117cb576f55e3215cb46dcd8d2ad3b52124eb4.tar.xz
Forgot to dmnsn_delete_interior() in dmnsn_delete_object().
Diffstat (limited to 'libdimension/object.c')
-rw-r--r--libdimension/object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/object.c b/libdimension/object.c
index a1b161e..7cad7f7 100644
--- a/libdimension/object.c
+++ b/libdimension/object.c
@@ -58,6 +58,7 @@ void
dmnsn_delete_object(dmnsn_object *object)
{
if (object) {
+ dmnsn_delete_interior(object->interior);
dmnsn_delete_texture(object->texture);
if (object->free_fn) {
(*object->free_fn)(object->ptr);