Christian Costa : d3dxof: Fix data buffer deallocation on error.
Alexandre Julliard
julliard at winehq.org
Mon Feb 8 11:06:07 CST 2010
Module: wine
Branch: master
Commit: 497be4f83c438f95bb1bdd65d707ed234315438c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=497be4f83c438f95bb1bdd65d707ed234315438c
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Sun Feb 7 21:16:33 2010 +0100
d3dxof: Fix data buffer deallocation on error.
---
dlls/d3dxof/d3dxof.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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-cvs
mailing list