summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/list.h')
-rw-r--r--libdimension/dimension/list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/list.h b/libdimension/dimension/list.h
index bac9740..dba18dc 100644
--- a/libdimension/dimension/list.h
+++ b/libdimension/dimension/list.h
@@ -54,8 +54,8 @@ DMNSN_INLINE void
dmnsn_delete_list_iterator(dmnsn_list_iterator *i)
{
if (i) {
- free(i->ptr);
- free(i);
+ dmnsn_free(i->ptr);
+ dmnsn_free(i);
}
}