Client/X11: Fix h264 context leak when DeleteSurface (#4089)
This commit is contained in:
parent
6b7b602370
commit
790c48017c
@ -328,6 +328,9 @@ static UINT xf_DeleteSurface(RdpgfxClientContext* context,
|
||||
|
||||
if (surface)
|
||||
{
|
||||
#ifdef WITH_GFX_H264
|
||||
h264_context_free(surface->gdi.h264);
|
||||
#endif
|
||||
XFree(surface->image);
|
||||
_aligned_free(surface->gdi.data);
|
||||
_aligned_free(surface->stage);
|
||||
|
Loading…
Reference in New Issue
Block a user