summaryrefslogtreecommitdiffstats
path: root/libdimension/csg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/csg.c')
-rw-r--r--libdimension/csg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/csg.c b/libdimension/csg.c
index a3c1218..cfce242 100644
--- a/libdimension/csg.c
+++ b/libdimension/csg.c
@@ -101,7 +101,7 @@ dmnsn_csg_free_fn(void *ptr)
dmnsn_object **params = ptr;
dmnsn_delete_object(params[1]);
dmnsn_delete_object(params[0]);
- free(ptr);
+ dmnsn_free(ptr);
}
/* Generic CSG intersection function */