summaryrefslogtreecommitdiffstats
path: root/channels/rdpgfx/client/rdpgfx_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/rdpgfx/client/rdpgfx_main.c')
-rw-r--r--channels/rdpgfx/client/rdpgfx_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/rdpgfx/client/rdpgfx_main.c b/channels/rdpgfx/client/rdpgfx_main.c
index dd59c8b..aeaa2de 100644
--- a/channels/rdpgfx/client/rdpgfx_main.c
+++ b/channels/rdpgfx/client/rdpgfx_main.c
@@ -2093,6 +2093,7 @@ static UINT rdpgfx_on_data_received(IWTSVirtualChannelCallback* pChannelCallback
if (status < 0)
{
WLog_Print(gfx->log, WLOG_ERROR, "zgfx_decompress failure! status: %d", status);
+ free(pDstData);
return ERROR_INTERNAL_ERROR;
}