summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-08-08 16:09:31 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-08-08 10:23:43 -0400
commitbc2e582558b2b6f4e15f2835f2e8f2cf5ca9e485 (patch)
tree734e36d3106e82dfe31e854b01c0605410a85f99
parentb03a48297a3dc03ea59360345f352bc449189589 (diff)
downloadsssd-bc2e582558b2b6f4e15f2835f2e8f2cf5ca9e485.tar.gz
sssd-bc2e582558b2b6f4e15f2835f2e8f2cf5ca9e485.tar.bz2
sssd-bc2e582558b2b6f4e15f2835f2e8f2cf5ca9e485.zip
Remove unused temporary context
-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 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;
}