]> 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:59 +0000 (17:17 -0500)
commit35ebaed94d90fd86b7074f2cc48051be6d1efa2d
treedcd653aaeac87a597badca7443654b59292ce494
parentfcc3e7fac61b9e4b37b9f6710e0bfb3074b28242
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