From 5900a5d9b51779a890d0a606f7c7e1dec0d5e32c Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Thu, 20 Nov 2014 16:53:10 +0100 Subject: be_ptask: do not store sync ctx to _task MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/providers/dp_ptask.c | 4 ---- 1 file changed, 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: -- cgit