Do not check for non NULL pointer before HeapFree'ing it. It's
[wine] / dlls / d3dx8 / d3dx8.spec
1 @ stdcall D3DXCreateBuffer(long ptr)
2 @ stdcall D3DXCreateFont(ptr ptr ptr)
3 @ stdcall D3DXGetFVFVertexSize(long)
4 @ stdcall D3DXAssembleShader(ptr long long ptr ptr ptr)
5 @ stdcall D3DXAssembleShaderFromFileA(ptr long ptr ptr ptr)
6 @ stdcall D3DXAssembleShaderFromFileW(ptr long ptr ptr ptr)