git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c132b78
)
s4/messaging: let the imessaging ctx destructor free msg_dgm_ref
author
Ralph Boehme
<slow@samba.org>
Thu, 15 Sep 2016 12:19:51 +0000
(14:19 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 19 Sep 2016 01:32:10 +0000
(
03:32
+0200)
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>
source4/lib/messaging/messaging.c
patch
|
blob
|
history
diff --git
a/source4/lib/messaging/messaging.c
b/source4/lib/messaging/messaging.c
index ea50627c2bd286c7397c9c2383c2c53adb9ba87d..d0beef662410f679e143a4e835dd0fa4996bd70c 100644
(file)
--- 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;
}