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

This commit is contained in:
Henri Verbeet 2009-10-22 10:09:56 +02:00 committed by Alexandre Julliard
parent 8d2512317f
commit a927573395
1 changed files with 1 additions and 0 deletions

View File

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