On 12.09.25 10:20, Haofeng Li wrote:
From: Haofeng Li <[email protected]>When realloc() fails in transhuge-stress test, the original code exits immediately without freeing the previously allocated memory,causing a memory leak.
What do you think happens when a process exits? :)Correct! All memory ever allocated to that process gets freed, avoiding any memory leaks.
-- Cheers David / dhildenb

