1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

r13981: Fix Coverity bug # 138

(This used to be commit 303067ba3b)
This commit is contained in:
Volker Lendecke 2006-03-07 20:14:47 +00:00 committed by Gerald (Jerry) Carter
parent 33c9fbab12
commit 5f76ee419e

View File

@ -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;
}