d3dxof: Fix data buffer deallocation on error.

This commit is contained in:
Christian Costa 2010-02-07 21:16:33 +01:00 committed by Alexandre Julliard
parent ff6eccdabf
commit 497be4f83c

View File

@ -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;