projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert r20089, thanks SVN for not a nice conflict resolution!
[reactos.git]
/
reactos
/
lib
/
kernel32
/
file
/
npipe.c
diff --git
a/reactos/lib/kernel32/file/npipe.c
b/reactos/lib/kernel32/file/npipe.c
index
decc1bc
..
a9fcd27
100644
(file)
--- a/
reactos/lib/kernel32/file/npipe.c
+++ b/
reactos/lib/kernel32/file/npipe.c
@@
-924,11
+924,6
@@
GetNamedPipeHandleStateA(HANDLE hNamedPipe,
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
return FALSE;
}
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
return FALSE;
}
- if (UserNameW.Buffer == NULL)
- {
- SetLastError(ERROR_NOT_ENOUGH_MEMORY);
- return FALSE;
- }
UserNameA.Buffer = lpUserName;
UserNameA.Length = 0;
UserNameA.Buffer = lpUserName;
UserNameA.Length = 0;