s3-msg: For msg_channel, correct the talloc hierarchy
authorVolker Lendecke <vl@samba.org>
Fri, 10 Aug 2012 13:24:23 +0000 (15:24 +0200)
committerChristian Ambach <ambi@samba.org>
Thu, 16 Aug 2012 16:05:34 +0000 (18:05 +0200)
talloc_free() of a channel must free all immediate requests that have
piled up

Signed-off-by: Christian Ambach <ambi@samba.org>
source3/lib/msg_channel.c

index 2b02f563e7671b20987b3fae80fb97d3e8eeb5d3..c68c11ec2f0c8210895dc511ebc17e418728993b 100644 (file)
@@ -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;
        }