]> git.ipfire.org Git - thirdparty/asterisk.git/commit
config.c: Fix off-nominal reference leak.
authorSean Bright <sean@seanbright.com>
Tue, 7 Jan 2025 16:34:04 +0000 (11:34 -0500)
committerSean Bright <sean@seanbright.com>
Wed, 8 Jan 2025 15:41:41 +0000 (15:41 +0000)
commitc7562392b98b8d48f7eb2868442acf553881a563
tree805ce0d65979aa07aab4c8f99642f5fd95dd2b78
parent3fa488d840311af9d44821a83a8efa0528bd0148
config.c: Fix off-nominal reference leak.

This was identified and fixed by @Allan-N in #918 but it is an
important fix in its own right.

The fix here is slightly different than Allan's in that we just move
the initialization of the problematic AO2 container to where it is
first used.

Fixes #1046
main/config.c