summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-11-20 16:53:10 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-11-28 16:16:55 +0100
commit5900a5d9b51779a890d0a606f7c7e1dec0d5e32c (patch)
treec8f211348f967bbd02d3ab18ab8021447816b9b3
parent087da85079ec1ac51b3b97cafca19c5d243769fb (diff)
downloadsssd-5900a5d9b51779a890d0a606f7c7e1dec0d5e32c.zip
sssd-5900a5d9b51779a890d0a606f7c7e1dec0d5e32c.tar.gz
sssd-5900a5d9b51779a890d0a606f7c7e1dec0d5e32c.tar.xz
be_ptask: do not store sync ctx to _task
The _task is an output variable of type struct be_ptask * which is filled by be_ptask_create(). However, we tried to set sync ctx there as a result of copy and paste error. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
-rw-r--r--src/providers/dp_ptask.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/providers/dp_ptask.c b/src/providers/dp_ptask.c
index 9eca429..3540579 100644
--- a/src/providers/dp_ptask.c
+++ b/src/providers/dp_ptask.c
@@ -451,10 +451,6 @@ errno_t be_ptask_create_sync(TALLOC_CTX *mem_ctx,
goto done;
}
- if (_task != NULL) {
- talloc_steal(*_task, ctx);
- }
-
ret = EOK;
done: