]> 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:43 +0000 (15:41 +0000)
commit6658e0599c4c594eed7f188ec80dd075fffbf441
treea71f394b6f033572554bb70a1d11017856d6d6d5
parentdd592b195b51c25ec27df72cf1c6067e08c5797d
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