git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33c9fba
)
r13981: Fix Coverity bug # 138
author
Volker Lendecke
<vlendec@samba.org>
Tue, 7 Mar 2006 20:14:47 +0000
(20:14 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:11:03 +0000
(11:11 -0500)
(This used to be commit
303067ba3bdf34ab501f0d99e386cfdb6ab10233
)
source3/auth/auth_util.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth_util.c
b/source3/auth/auth_util.c
index 1f853e5eb90d1bf7fb6ca1819b5ff35f18dc0df4..065e9d1899369df21f0ebd616fdfb4b4e133a1e8 100644
(file)
--- a/
source3/auth/auth_util.c
+++ b/
source3/auth/auth_util.c
@@
-76,7
+76,7
@@
static NTSTATUS make_user_info(auth_usersupplied_info **user_info,
DEBUG(5,("attempting to make a user_info for %s (%s)\n", internal_username, smb_name));
*user_info = SMB_MALLOC_P(auth_usersupplied_info);
- if (
!user_info
) {
+ if (
*user_info == NULL
) {
DEBUG(0,("malloc failed for user_info (size %lu)\n", (unsigned long)sizeof(*user_info)));
return NT_STATUS_NO_MEMORY;
}