Nikolay Sivov : directmanipulation: Use CRT memory allocation functions.