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 3eb8067 commit d0417ecCopy full SHA for d0417ec
src/base_alloc/base_alloc_global.c
@@ -233,13 +233,15 @@ void umf_ba_global_free(void *ptr) {
233
int ac_index = size_to_idx(total_size);
234
if (ac_index >= NUM_ALLOCATION_CLASSES) {
235
VALGRIND_DO_FREELIKE_BLOCK(ptr, 0);
236
+ utils_annotate_memory_inaccessible(ptr, total_size);
237
ba_os_free(ptr, total_size);
238
return;
239
}
240
241
if (!BASE_ALLOC.ac[ac_index]) {
242
// if creating ac failed, memory must have been allocated by os
243
244
245
246
247
0 commit comments