Author: cwittich
Date: Tue Sep 23 02:05:18 2008
New Revision: 36411
URL:
http://svn.reactos.org/svn/reactos?rev=36411&view=rev
Log:
don't free memory which is not allocated yet
Fix for Coverity error CID: 789.
Modified:
trunk/reactos/dll/win32/userenv/profile.c
Modified: trunk/reactos/dll/win32/userenv/profile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/userenv/profile.…
==============================================================================
--- trunk/reactos/dll/win32/userenv/profile.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/userenv/profile.c [iso-8859-1] Tue Sep 23 02:05:18 2008
@@ -250,7 +250,6 @@
if (!AppendSystemPostfix (szUserProfilePath, MAX_PATH))
{
DPRINT1("AppendSystemPostfix() failed\n", GetLastError());
- LocalFree ((HLOCAL)SidString);
return FALSE;
}