summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/dp_ptask.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/dp_ptask.c b/src/providers/dp_ptask.c
index 3ebb134be..44db3f6f8 100644
--- a/src/providers/dp_ptask.c
+++ b/src/providers/dp_ptask.c
@@ -471,6 +471,8 @@ errno_t be_ptask_create_sync(TALLOC_CTX *mem_ctx,
goto done;
}
+ talloc_steal(*_task, ctx);
+
ret = EOK;
done: