diff options
author | Ralph Boehme <slow@samba.org> | 2016-09-15 14:19:51 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-19 03:32:10 +0200 |
commit | ee64d3f1d89a3ceb61d035e776c8235a19c8a2cf (patch) | |
tree | 0d788bef5d475be6a270caecb8059dbed476b767 /source4/lib/messaging | |
parent | c132b78c484c14d255a98567e90b934b73ebf8c2 (diff) | |
download | samba-ee64d3f1d89a3ceb61d035e776c8235a19c8a2cf.tar.gz |
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>
Diffstat (limited to 'source4/lib/messaging')
-rw-r--r-- | source4/lib/messaging/messaging.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/messaging/messaging.c b/source4/lib/messaging/messaging.c index ea50627c2bd..d0beef66241 100644 --- a/source4/lib/messaging/messaging.c +++ b/source4/lib/messaging/messaging.c @@ -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; } |