summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/array.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h
index 2154a9e..d962d42 100644
--- a/libdimension/dimension/array.h
+++ b/libdimension/dimension/array.h
@@ -19,9 +19,9 @@
*************************************************************************/
/*
- * Simple thread-safe generalized arrays, for returning variable-length arrays
- * from functions, and other fun stuff. All functions are inline for
- * performance reasons.
+ * Simple generalized arrays, for returning variable-length arrays from
+ * functions, and other fun stuff. All functions are inline for performance
+ * reasons.
*/
#ifndef DIMENSION_ARRAY_H
@@ -52,6 +52,8 @@ dmnsn_new_array(size_t obj_size)
if (!array->ptr) {
dmnsn_error(DMNSN_SEVERITY_HIGH, "Array allocation failed.");
}
+ } else {
+ dmnsn_error(DMNSN_SEVERITY_HIGH, "Array allocation failed.");
}
return array;