summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/array.h')
-rw-r--r--libdimension/dimension/array.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h
index fd78deb..85543cc 100644
--- a/libdimension/dimension/array.h
+++ b/libdimension/dimension/array.h
@@ -40,8 +40,8 @@ DMNSN_INLINE void
dmnsn_delete_array(dmnsn_array *array)
{
if (array) {
- free(array->ptr);
- free(array);
+ dmnsn_free(array->ptr);
+ dmnsn_free(array);
}
}