Release the reread event on transport_free

This commit is contained in:
David Fort 2016-10-09 22:36:04 +02:00
parent fd7ebdc6a5
commit 60cffef8d1

View File

@ -1153,6 +1153,7 @@ void transport_free(rdpTransport* transport)
StreamPool_Free(transport->ReceivePool); StreamPool_Free(transport->ReceivePool);
CloseHandle(transport->connectedEvent); CloseHandle(transport->connectedEvent);
CloseHandle(transport->rereadEvent);
DeleteCriticalSection(&(transport->ReadLock)); DeleteCriticalSection(&(transport->ReadLock));
DeleteCriticalSection(&(transport->WriteLock)); DeleteCriticalSection(&(transport->WriteLock));
free(transport); free(transport);