mirror of
https://github.com/reactos/wine.git
synced 2024-12-04 17:56:51 +00:00
d3dx9_36: Initialize properly object in CreateEnumObject.
This commit is contained in:
parent
d727596a5b
commit
8aa700e7ba
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user