diff options
author | Pavel Březina <pbrezina@redhat.com> | 2014-11-20 16:53:10 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-11-28 16:16:55 +0100 |
commit | 5900a5d9b51779a890d0a606f7c7e1dec0d5e32c (patch) | |
tree | c8f211348f967bbd02d3ab18ab8021447816b9b3 /src | |
parent | 087da85079ec1ac51b3b97cafca19c5d243769fb (diff) | |
download | sssd-5900a5d9b51779a890d0a606f7c7e1dec0d5e32c.tar.gz sssd-5900a5d9b51779a890d0a606f7c7e1dec0d5e32c.tar.xz sssd-5900a5d9b51779a890d0a606f7c7e1dec0d5e32c.zip |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/providers/dp_ptask.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/providers/dp_ptask.c b/src/providers/dp_ptask.c index 9eca429d1..3540579e8 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: |