1
0
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:
Günther Deschner 2015-12-03 15:24:17 +01:00 committed by Jeremy Allison
parent 8f39b2fd24
commit fdc89feb8f

View File

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