]> 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:38 +0000 (15:41 +0000)
commit6b3dadfbe27404d995fdbbc4d31e2b3d5ed2fca6
tree646fced599dc8a582492414969c85c95b1beb270
parentcc2b5ec88bf9560ce29bf0b8fe6f7202990a7af2
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