Author: tfaber
Date: Wed Apr 6 20:10:09 2016
New Revision: 71111
URL:
http://svn.reactos.org/svn/reactos?rev=71111&view=rev
Log:
[NTOS:IO]
- Do not leak ServiceName in IopInitializeBuiltinDriver
CORE-11084 #resolve
Modified:
trunk/reactos/ntoskrnl/io/iomgr/driver.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/driver.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/driver.c…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/driver.c [iso-8859-1] Wed Apr 6 20:10:09 2016
@@ -919,6 +919,7 @@
NULL,
&ServiceName,
&DeviceNode);
+ RtlFreeUnicodeString(&ServiceName);
if (!NT_SUCCESS(Status))
{
DPRINT1("Driver '%wZ' load failed, status (%x)\n", ModuleName,
Status);