Le 2014-12-10 17:35, Arjun Sreedharan a écrit : > overwriting pointer with realloc()'s return value can leak memory > when realloc() fails. realloc_or_free() manages this and frees memory > on failure. Did you actually test this? Some of the snippets don't look right. -- Rémi Denis-Courmont