projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7b602
)
Client/X11: Fix h264 context leak when DeleteSurface (#4089)
author
Jiang, Zihao
<zihao.jiang@yahoo.com>
Mon, 14 Aug 2017 08:16:14 +0000
(16:16 +0800)
committer
akallabeth
<akallabeth@users.noreply.github.com>
Mon, 14 Aug 2017 08:16:14 +0000
(10:16 +0200)
client/X11/xf_gfx.c
patch
|
blob
|
history
diff --git
a/client/X11/xf_gfx.c
b/client/X11/xf_gfx.c
index
ff685e3
..
1a66d74
100644
(file)
--- a/
client/X11/xf_gfx.c
+++ b/
client/X11/xf_gfx.c
@@
-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);