mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
werror: replace WERR_NOMEM with WERR_NOT_ENOUGH_MEMORY in source3/smbd/lanman.c
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
8f39b2fd24
commit
fdc89feb8f
@ -5394,7 +5394,7 @@ static bool api_RNetSessionEnum(struct smbd_server_connection *sconn,
|
||||
info_ctr.level = 1;
|
||||
info_ctr.ctr.ctr1 = talloc_zero(talloc_tos(), struct srvsvc_NetSessCtr1);
|
||||
if (info_ctr.ctr.ctr1 == NULL) {
|
||||
desc.errcode = W_ERROR_V(WERR_NOMEM);
|
||||
desc.errcode = W_ERROR_V(WERR_NOT_ENOUGH_MEMORY);
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user