We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad098a commit 41a2658Copy full SHA for 41a2658
src/core/m-pools.c
@@ -616,10 +616,10 @@ const REBPOOLSPEC Mem_Pool_Spec[MAX_POOLS] =
616
if( !IS_USED_HOB(hob) || hob->data == NULL ) return;
617
618
spec = PG_Handles[idx];
619
- //printf("HOB %p free mem: %p\n", hob, hob->data);
+ //printf("HOB %p free mem: %p %i\n", hob, hob->data, spec.flags);
620
621
if (spec.free) {
622
- spec.free(GET_FLAG(spec.flags, HANDLE_REQUIRES_HOB_ON_FREE) ? hob : hob->data);
+ spec.free(spec.flags & HANDLE_REQUIRES_HOB_ON_FREE ? hob : hob->data);
623
}
624
625
CLEAR(hob->data, spec.size);
0 commit comments