smbd: Always clean up the child's msg_ctx
authorVolker Lendecke <vl@samba.org>
Fri, 11 Apr 2014 07:13:10 +0000 (09:13 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 23 Apr 2014 20:33:08 +0000 (22:33 +0200)
commitdac9b3d73f94e86acb3770bf5ca728f107505b0b
tree90c10efcb1265dd3315e8c5337fd3aa9cdc376ff
parent78543b9bce5f823f44963e76638b02d55d76633e
smbd: Always clean up the child's msg_ctx

This is a bit lazy programming, we could and possibly should do this in
exit_server() in the child. But this way we make sure the cleanup works. If it
only was executed for unclean exits, we might not detect failure of this code
in the parent.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/server.c