diff --git a/libfreerdp/core/transport.c b/libfreerdp/core/transport.c index 6459dd236..fe550bf24 100644 --- a/libfreerdp/core/transport.c +++ b/libfreerdp/core/transport.c @@ -1153,6 +1153,7 @@ void transport_free(rdpTransport* transport) StreamPool_Free(transport->ReceivePool); CloseHandle(transport->connectedEvent); + CloseHandle(transport->rereadEvent); DeleteCriticalSection(&(transport->ReadLock)); DeleteCriticalSection(&(transport->WriteLock)); free(transport);