summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-02-28 10:09:14 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-03-04 14:43:59 +0100
commit270378e688f30413d75eaa9b5170f4ed8676f1cf (patch)
treea3996f4a81f6c4038605fd322439f868cb6cfe60 /src
parent275102c8f332323571d55370a705d4610d24f510 (diff)
downloadsssd-270378e688f30413d75eaa9b5170f4ed8676f1cf.tar.gz
sssd-270378e688f30413d75eaa9b5170f4ed8676f1cf.tar.bz2
sssd-270378e688f30413d75eaa9b5170f4ed8676f1cf.zip
Use the correct memory context in be_req_create
Diffstat (limited to 'src')
-rw-r--r--src/providers/data_provider_be.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/data_provider_be.c b/src/providers/data_provider_be.c
index e4d854bf..08fa9bf0 100644
--- a/src/providers/data_provider_be.c
+++ b/src/providers/data_provider_be.c
@@ -143,7 +143,7 @@ struct be_req *be_req_create(TALLOC_CTX *mem_ctx,
{
struct be_req *be_req;
- be_req = talloc_zero(becli, struct be_req);
+ be_req = talloc_zero(mem_ctx, struct be_req);
if (be_req == NULL) return NULL;
be_req->becli = becli;