[PATCH 1/3] d3dx9_36: Initialize properly object in CreateEnumObject.
Christian Costa
titan.costa at gmail.com
Fri Jan 18 01:49:09 CST 2013
---
dlls/d3dx9_36/xfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dx9_36/xfile.c b/dlls/d3dx9_36/xfile.c
index 234e071..d54ef0f 100644
--- a/dlls/d3dx9_36/xfile.c
+++ b/dlls/d3dx9_36/xfile.c
@@ -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;
More information about the wine-patches
mailing list