From: Volker Lendecke Date: Fri, 10 Aug 2012 13:24:23 +0000 (+0200) Subject: s3-msg: For msg_channel, correct the talloc hierarchy X-Git-Tag: tevent-0.9.17~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b83cd05ce1ff3357428cbc789ac4dbd08aa706ec;p=thirdparty%2Fsamba.git s3-msg: For msg_channel, correct the talloc hierarchy talloc_free() of a channel must free all immediate requests that have piled up Signed-off-by: Christian Ambach --- diff --git a/source3/lib/msg_channel.c b/source3/lib/msg_channel.c index 2b02f563e76..c68c11ec2f0 100644 --- a/source3/lib/msg_channel.c +++ b/source3/lib/msg_channel.c @@ -196,7 +196,7 @@ static void msg_channel_init_got_msg(struct messaging_context *msg, return; } - im = tevent_create_immediate(s->ev); + im = tevent_create_immediate(s); if (im == NULL) { goto fail; }