mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s4/messaging: let the imessaging ctx destructor free msg_dgm_ref
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12272 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
c132b78c48
commit
ee64d3f1d8
@ -304,6 +304,7 @@ static struct imessaging_context *msg_ctxs;
|
||||
static int imessaging_context_destructor(struct imessaging_context *msg)
|
||||
{
|
||||
DLIST_REMOVE(msg_ctxs, msg);
|
||||
TALLOC_FREE(msg->msg_dgm_ref);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user