Commit 497be4f8 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3dxof: Fix data buffer deallocation on error.

parent ff6eccda
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment