Module: wine Branch: master Commit: 497be4f83c438f95bb1bdd65d707ed234315438c URL: http://source.winehq.org/git/wine.git/?a=commit;h=497be4f83c438f95bb1bdd65d7... Author: Christian Costa <titan.costa(a)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;