summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/nss/nsssrv_cmd.c')
-rw-r--r--src/responder/nss/nsssrv_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/responder/nss/nsssrv_cmd.c b/src/responder/nss/nsssrv_cmd.c
index e6437a621..65d9c5801 100644
--- a/src/responder/nss/nsssrv_cmd.c
+++ b/src/responder/nss/nsssrv_cmd.c
@@ -1301,7 +1301,7 @@ static int nss_cmd_getpwent(struct cli_ctx *cctx)
DEBUG(4, ("Requesting info for all accounts\n"));
- cmdctx = talloc(cctx, struct nss_cmd_ctx);
+ cmdctx = talloc_zero(cctx, struct nss_cmd_ctx);
if (!cmdctx) {
return ENOMEM;
}
@@ -2630,7 +2630,7 @@ static int nss_cmd_getgrent(struct cli_ctx *cctx)
DEBUG(4, ("Requesting info for all groups\n"));
- cmdctx = talloc(cctx, struct nss_cmd_ctx);
+ cmdctx = talloc_zero(cctx, struct nss_cmd_ctx);
if (!cmdctx) {
return ENOMEM;
}