From bc2e582558b2b6f4e15f2835f2e8f2cf5ca9e485 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Mon, 8 Aug 2011 16:09:31 +0200 Subject: Remove unused temporary context --- src/responder/nss/nsssrv.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/responder/nss/nsssrv.c') diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c index ec2f0caf..8fe53a8b 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; } -- cgit