]> 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)
committerKevin Harwell <kharwell@digium.com>
Wed, 13 Jul 2022 22:17:31 +0000 (17:17 -0500)
commita0c3eb3b081accfabfa1b8863e17818e91eade48
tree749d1522637fa2d747d65d91c453dd93a3e0a6aa
parentdd0badf16b40bb56dace44ed32d53ce33bca40e0
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