Stefan Dösinger : wined3d: Free heapMemory, not allocatedMemory when adjusting the surface.