[Asterisk-code-review] func_frame_drop: New function (asterisk[master])
N A
asteriskteam at digium.com
Tue Jul 6 08:29:51 CDT 2021
Attention is currently required from: Joshua Colp.
N A has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/16071 )
Change subject: func_frame_drop: New function
......................................................................
Patch Set 9:
(1 comment)
File funcs/func_frame_drop.c:
https://gerrit.asterisk.org/c/asterisk/+/16071/comment/6ac4fca8_f4756216
PS9, Line 196: if (drop_frame) {
> This jogged my memory - this can cause a crash. See https://gerrit.asterisk. […]
It says that frames should only be freed on reads, not writes there, isn't that what I'm doing here, reading frames on the channels? In that case, AST_FRAME_VOICE or not, I'm not sure how that applies here.
The setup is the same as with HOLD_INTERCEPT so I imagine this would apply there too? How might this be tested or looked into?
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/16071
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I8147c9d55d74e2e48861edba6b22f930920541ec
Gerrit-Change-Number: 16071
Gerrit-PatchSet: 9
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Attention: Joshua Colp <jcolp at sangoma.com>
Gerrit-Comment-Date: Tue, 06 Jul 2021 13:29:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Joshua Colp <jcolp at sangoma.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210706/68b4716e/attachment.html>
More information about the asterisk-code-review
mailing list