Revert r20089, thanks SVN for not a nice conflict resolution!
Modified: trunk/reactos/lib/kernel32/file/npipe.c

Modified: trunk/reactos/lib/kernel32/file/npipe.c
--- trunk/reactos/lib/kernel32/file/npipe.c	2005-12-11 22:36:20 UTC (rev 20089)
+++ trunk/reactos/lib/kernel32/file/npipe.c	2005-12-11 22:40:15 UTC (rev 20090)
@@ -924,11 +924,6 @@
       SetLastError(ERROR_NOT_ENOUGH_MEMORY);
       return FALSE;
     }
-    if (UserNameW.Buffer == NULL)
-    {
-      SetLastError(ERROR_NOT_ENOUGH_MEMORY);
-      return FALSE;
-    }
 
     UserNameA.Buffer = lpUserName;
     UserNameA.Length = 0;