diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-10-04 19:05:15 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-10-04 19:05:15 +0000 |
commit | 273761db64335b4dd647f538efbd69a3823c5319 (patch) | |
tree | b1de51bd85fba0d314e84fc2df3cd5a7443c31c8 /libdimension | |
parent | 2404976a5d1210b4547a76678aada49d0ae74e44 (diff) | |
download | dimension-273761db64335b4dd647f538efbd69a3823c5319.tar.xz |
New benchmarking suite.
Diffstat (limited to 'libdimension')
-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); |