[Asterisk-code-review] stasis/endpoint: Fix memory leak of channel ids in ast endpo... (asterisk[master])
Mohit Dhiman
asteriskteam at digium.com
Mon Jan 14 05:39:57 CST 2019
Hello Friendly Automation, Joshua C. Colp,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/10872
to look at the new patch set (#2).
Change subject: stasis/endpoint: Fix memory leak of channel_ids in ast_endpoint structure.
......................................................................
stasis/endpoint: Fix memory leak of channel_ids in ast_endpoint structure.
During Bridging of two channels if masquerade operation is performed on a
channel (clone channel) which was created with endpoint details
(ast_channel_alloc_with_endpoint()) and the original channel which is created
without endpoint details (ast_channel_alloc()) then both the channels must
exchange their endpoint details or else after masquerade when clone channel
is being destroyed the endpoint cleanup callbacks will be destroyed too and
after call completion unique_id of original channel will still be there in
ast_endpoint structure's channel_ids container.
ASTERISK-28197
Change-Id: I97ce73da390af20fd082fb09d722a6fe9cb2f39d
---
M include/asterisk/channel.h
M main/channel.c
M main/channel_internal_api.c
3 files changed, 26 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/72/10872/2
--
To view, visit https://gerrit.asterisk.org/10872
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I97ce73da390af20fd082fb09d722a6fe9cb2f39d
Gerrit-Change-Number: 10872
Gerrit-PatchSet: 2
Gerrit-Owner: Mohit Dhiman <mohitdhiman at drishti-soft.com>
Gerrit-Reviewer: Friendly Automation (1000185)
Gerrit-Reviewer: Joshua C. Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20190114/1b43f2d7/attachment.html>
More information about the asterisk-code-review
mailing list