Piotr Caban : msvcrt: Use new() for allocations returning BadAlloc exception.