mirror of https://github.com/FreeRDP/FreeRDP
libfreerdp-codec/rfx: fix a memory leak.
This commit is contained in:
parent
729efc7d57
commit
6551815991
|
@ -741,7 +741,10 @@ static BOOL rfx_process_message_tileset(RFX_CONTEXT* context, RFX_MESSAGE* messa
|
|||
if (context->priv->UseThreads)
|
||||
{
|
||||
for (i = 0; i < message->num_tiles; i++)
|
||||
{
|
||||
WaitForThreadpoolWorkCallbacks(work_objects[i], FALSE);
|
||||
CloseThreadpoolWork(work_objects[i]);
|
||||
}
|
||||
|
||||
free(work_objects);
|
||||
free(params);
|
||||
|
|
Loading…
Reference in New Issue