summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-01-27 11:09:39 +0100
committerStefan Metzmacher <metze@samba.org>2013-01-27 15:50:30 +0100
commitbb3238b46f0ffaf0bc8c0e16bdcc1cf5d2cad197 (patch)
tree7af91d6285c09b1b65f1504c9d8e85b381eeaa2f /source4
parent431692df422c3cac71ca12b7e89296172dfcf684 (diff)
downloadsamba-bb3238b46f0ffaf0bc8c0e16bdcc1cf5d2cad197.tar.gz
samba-bb3238b46f0ffaf0bc8c0e16bdcc1cf5d2cad197.tar.bz2
samba-bb3238b46f0ffaf0bc8c0e16bdcc1cf5d2cad197.zip
s4:service_task: add missing imessaging_cleanup() to task_server_terminate()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sun Jan 27 15:50:30 CET 2013 on sn-devel-104
Diffstat (limited to 'source4')
-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 */