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:
ce8f3f2
)
Fixed broken resource cleanup.
author
Armin Novak
<armin.novak@thincast.com>
Tue, 1 Mar 2016 16:30:08 +0000
(17:30 +0100)
committer
Armin Novak
<armin.novak@thincast.com>
Wed, 2 Mar 2016 13:46:33 +0000
(14:46 +0100)
libfreerdp/gdi/gfx.c
patch
|
blob
|
history
diff --git
a/libfreerdp/gdi/gfx.c
b/libfreerdp/gdi/gfx.c
index
08c6d8c
..
5237340
100644
(file)
--- a/
libfreerdp/gdi/gfx.c
+++ b/
libfreerdp/gdi/gfx.c
@@
-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;
}