summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension')
-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);