Nikolay Sivov : d3d10: Use CRT allocation functions.