Author: weiden
Date: Fri Oct 13 23:19:16 2006
New Revision: 24504
URL:
http://svn.reactos.org/svn/reactos?rev=24504&view=rev
Log:
Don't accidentally free the object name path in case it wasn't altered when
resolving paths to handles
Modified:
trunk/reactos/dll/win32/ntmarta/ntmarta.c
Modified: trunk/reactos/dll/win32/ntmarta/ntmarta.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ntmarta/ntmarta.…
==============================================================================
--- trunk/reactos/dll/win32/ntmarta/ntmarta.c (original)
+++ trunk/reactos/dll/win32/ntmarta/ntmarta.c Fri Oct 13 23:19:16 2006
@@ -823,7 +823,7 @@
}
Cleanup:
- if (lpPath != NULL)
+ if (lpPath != NULL && lpPath != pObjectName)
{
LocalFree((HLOCAL)lpPath);
}