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