d3dx9_36: Initialize properly object in CreateEnumObject.

This commit is contained in:
Christian Costa 2013-01-18 08:49:09 +01:00 committed by Alexandre Julliard
parent d727596a5b
commit 8aa700e7ba

View File

@ -492,7 +492,7 @@ static HRESULT WINAPI ID3DXFileImpl_CreateEnumObject(ID3DXFile *iface, const voi
return E_NOTIMPL;
}
object = HeapAlloc(GetProcessHeap(), 0, sizeof(*object));
object = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(*object));
if (!object)
return E_OUTOFMEMORY;