[Asterisk-code-review] pbx.c: Simplify ast_context memory management. (asterisk[18])

Sean Bright asteriskteam at digium.com
Fri Jul 8 08:20:29 CDT 2022


Attention is currently required from: Sean Bright.
Hello Joshua Colp, Kevin Harwell, Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/18747

to look at the new patch set (#2).

Change subject: pbx.c: Simplify ast_context memory management.
......................................................................

pbx.c: Simplify ast_context memory management.

Allocate all of the ast_context's character data in the structure's
flexible array member and eliminate the clunky fake_context. This will
simplify future changes to ast_context.

Change-Id: I98357de75d8ac2b3c4c9f201223632e6901021ea
---
M main/pbx.c
1 file changed, 46 insertions(+), 49 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/47/18747/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18747
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 18
Gerrit-Change-Id: I98357de75d8ac2b3c4c9f201223632e6901021ea
Gerrit-Change-Number: 18747
Gerrit-PatchSet: 2
Gerrit-Owner: Sean Bright <sean at seanbright.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220708/744ffba4/attachment.html>


More information about the asterisk-code-review mailing list