diff options
Diffstat (limited to 'libdimension/dimension')
-rw-r--r-- | libdimension/dimension/array.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h index d835d60..2154a9e 100644 --- a/libdimension/dimension/array.h +++ b/libdimension/dimension/array.h @@ -59,7 +59,8 @@ dmnsn_new_array(size_t obj_size) /* Delete the array */ DMNSN_INLINE void -dmnsn_delete_array(dmnsn_array *array) { +dmnsn_delete_array(dmnsn_array *array) +{ if (array) { free(array->ptr); free(array); |