[PATCH] d3dxof: Fix data buffer deallocation on error
Christian Costa
titan.costa at wanadoo.fr
Sun Feb 7 14:16:33 CST 2010
---
dlls/d3dxof/d3dxof.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/dlls/d3dxof/d3dxof.c b/dlls/d3dxof/d3dxof.c
index aac10c4..0f800bf 100644
--- a/dlls/d3dxof/d3dxof.c
+++ b/dlls/d3dxof/d3dxof.c
@@ -1101,7 +1101,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
error:
HeapFree(GetProcessHeap(), 0, This->buf.pxo_tab);
- HeapFree(GetProcessHeap(), 0, This->buf.pxo->pdata);
+ HeapFree(GetProcessHeap(), 0, This->buf.pdata);
HeapFree(GetProcessHeap(), 0, pstrings);
return hr;
More information about the wine-patches
mailing list