Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/sprite.c:
if(device==NULL || sprite==NULL) return D3DERR_INVALIDCALL;
- if (!(object=HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object))))
- if (!(object=calloc(1, sizeof(*object))))
Formatting.