mirror of https://github.com/FreeRDP/FreeRDP
Fix two cases of leaked regions in gdi/gfx
This commit is contained in:
parent
1810656199
commit
5528b152ec
|
@ -250,6 +250,8 @@ int gdi_SurfaceCommand_RemoteFX(rdpGdi* gdi, RdpgfxClientContext* context, RDPGF
|
||||||
region16_uninit(&updateRegion);
|
region16_uninit(&updateRegion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
region16_uninit(&clippingRects);
|
||||||
|
|
||||||
rfx_message_free(gdi->codecs->rfx, message);
|
rfx_message_free(gdi->codecs->rfx, message);
|
||||||
|
|
||||||
if (!gdi->inGfxFrame)
|
if (!gdi->inGfxFrame)
|
||||||
|
@ -501,6 +503,8 @@ int gdi_SurfaceCommand_Progressive(rdpGdi* gdi, RdpgfxClientContext* context, RD
|
||||||
region16_uninit(&updateRegion);
|
region16_uninit(&updateRegion);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
region16_uninit(&clippingRects);
|
||||||
|
|
||||||
if (!gdi->inGfxFrame)
|
if (!gdi->inGfxFrame)
|
||||||
gdi_OutputUpdate(gdi);
|
gdi_OutputUpdate(gdi);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue