summaryrefslogtreecommitdiff
path: root/source4/smbd/service_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/service_task.c')
-rw-r--r--source4/smbd/service_task.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/smbd/service_task.c b/source4/smbd/service_task.c
index 9a30cd2105..5d14fafec0 100644
--- a/source4/smbd/service_task.c
+++ b/source4/smbd/service_task.c
@@ -46,6 +46,8 @@ void task_server_terminate(struct task_server *task, const char *reason, bool fa
}
}
+ imessaging_cleanup(task->msg_ctx);
+
model_ops->terminate(event_ctx, task->lp_ctx, reason);
/* don't free this above, it might contain the 'reason' being printed */