mirror of https://github.com/FreeRDP/FreeRDP
Fixed broken resource cleanup.
This commit is contained in:
parent
ce8f3f2539
commit
5bb68a0b39
|
@ -68,7 +68,7 @@ UINT gdi_ResetGraphics(RdpgfxClientContext* context, RDPGFX_RESET_GRAPHICS_PDU*
|
|||
if (!freerdp_client_codecs_reset(surface->codecs, FREERDP_CODEC_ALL,
|
||||
surface->width, surface->height))
|
||||
{
|
||||
free (surface);
|
||||
free (pSurfaceIds);
|
||||
return ERROR_INTERNAL_ERROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue