]> 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)
committerasterisk-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Wed, 8 Jan 2025 15:41:47 +0000 (15:41 +0000)
commite904ae5df0b8ee52e8893b4bf6ecdc985140849d
tree05d846b8b114f09d1d1e7314a33381eb70d49c07
parent18573fa36e1ab1a39a79cf924cc2a3845a874214
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