Release the reread event on transport_free
This commit is contained in:
parent
fd7ebdc6a5
commit
60cffef8d1
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user