mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
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 <ambi@samba.org>
This commit is contained in:
parent
8e50ff02f1
commit
b83cd05ce1
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user