Commit a9275733 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Free the context array in IWineGDISwapChainImpl_Destroy() (Valgrind).

parent 8d251231
......@@ -70,6 +70,7 @@ static void WINAPI IWineGDISwapChainImpl_Destroy(IWineD3DSwapChain *iface)
IWineD3DDevice_SetDisplayMode((IWineD3DDevice *) This->wineD3DDevice, 0, &mode);
}
HeapFree(GetProcessHeap(), 0, This->context);
HeapFree(GetProcessHeap(), 0, This);
}
......
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