summaryrefslogtreecommitdiffstats
path: root/libdimension/interior.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/interior.c')
-rw-r--r--libdimension/interior.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/interior.c b/libdimension/interior.c
index 0accb79..6bf76e4 100644
--- a/libdimension/interior.c
+++ b/libdimension/interior.c
@@ -42,8 +42,8 @@ dmnsn_delete_interior(dmnsn_interior *interior)
if (interior->free_fn) {
(*interior->free_fn)(interior->ptr);
}
- free(interior->refcount);
- free(interior);
+ dmnsn_free(interior->refcount);
+ dmnsn_free(interior);
} else {
--*interior->refcount;
}