- memory.c:MyRealloc(): As pointed out by Adam, realloc() can be called with size being 0 which equals to free(). In that case the outofmemory handler shouldn't be triggered.