We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b981d8 commit 39a9922Copy full SHA for 39a9922
src/base_alloc/base_alloc_global.c
@@ -86,9 +86,11 @@ void *umf_ba_global_alloc(size_t size) {
86
util_init_once(&ba_is_initialized, umf_ba_create_global);
87
88
if (size > BASE_ALLOC.ac_sizes[NUM_ALLOCATION_CLASSES - 1]) {
89
+#ifndef NDEBUG
90
fprintf(stderr,
91
"base_alloc: allocation size larger than the biggest "
92
"allocation class. Falling back to OS memory allocation.\n");
93
+#endif
94
return ba_os_alloc(size);
95
}
96
0 commit comments