]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: Simplify ast_context memory management.
authorSean Bright <sean@seanbright.com>
Tue, 5 Jul 2022 15:24:58 +0000 (11:24 -0400)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 13 Jul 2022 22:02:28 +0000 (17:02 -0500)
commitfbd84f9e7489aac0cfda00a54124b25043fb16db
treef54b164c5cdccafb3ffb7a8436621529212bf53e
parent6163de32955a4976dceb5f4f67bc8cecfee7cc27
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
main/pbx.c