Author: tfaber
Date: Sat Mar 28 20:49:13 2015
New Revision: 66937
URL:
http://svn.reactos.org/svn/reactos?rev=66937&view=rev
Log:
[TCPIP]
- Free transport context in TiCloseFileObject
CORE-9437 #resolve
Modified:
trunk/reactos/drivers/network/tcpip/tcpip/main.c
Modified: trunk/reactos/drivers/network/tcpip/tcpip/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/main.c [iso-8859-1] Sat Mar 28 20:49:13
2015
@@ -319,6 +319,9 @@
break;
}
+ if (NT_SUCCESS(Status))
+ ExFreePoolWithTag(Context, TRANS_CONTEXT_TAG);
+
Irp->IoStatus.Status = Status;
return Irp->IoStatus.Status;