diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-09-26 00:46:34 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-09-26 00:46:34 -0400 |
commit | 725bd4f0b4cc067fc2770f7f8ffd9c815c745239 (patch) | |
tree | 2bf8c049473d27057ce8cbac2a08eb2be05443b6 /libdimension/dimension/array.h | |
parent | 46bf25a9bed9eec6aaa8c4cad8144c7df629da30 (diff) | |
download | dimension-725bd4f0b4cc067fc2770f7f8ffd9c815c745239.tar.xz |
Add dmnsn_free() to match dmnsn_malloc().
Diffstat (limited to 'libdimension/dimension/array.h')
-rw-r--r-- | libdimension/dimension/array.h | 4 |
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); } } |