summaryrefslogtreecommitdiffstats
path: root/src/responder/nss/nsssrv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/responder/nss/nsssrv.c')
-rw-r--r--src/responder/nss/nsssrv.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c
index ec2f0caf0..8fe53a8bb 100644
--- a/src/responder/nss/nsssrv.c
+++ b/src/responder/nss/nsssrv.c
@@ -135,12 +135,8 @@ static int nss_get_config(struct nss_ctx *nctx,
struct resp_ctx *rctx,
struct confdb_ctx *cdb)
{
- TALLOC_CTX *tmpctx;
int ret;
- tmpctx = talloc_new(nctx);
- if (!tmpctx) return ENOMEM;
-
ret = confdb_get_int(cdb, nctx, CONFDB_NSS_CONF_ENTRY,
CONFDB_NSS_ENUM_CACHE_TIMEOUT, 120,
&nctx->enum_cache_timeout);
@@ -203,7 +199,6 @@ static int nss_get_config(struct nss_ctx *nctx,
ret = 0;
done:
- talloc_free(tmpctx);
return ret;
}