From 60cffef8d121425554b271ce1c644ee2808c7f63 Mon Sep 17 00:00:00 2001 From: David Fort Date: Sun, 9 Oct 2016 22:36:04 +0200 Subject: [PATCH] Release the reread event on transport_free --- libfreerdp/core/transport.c | 1 + 1 file changed, 1 insertion(+) 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);