]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager.c: Fix regression due to using wrong free function.
authorNaveen Albert <asterisk@phreaknet.org>
Tue, 26 Dec 2023 17:14:11 +0000 (17:14 +0000)
committerNaveen Albert <asterisk@phreaknet.org>
Tue, 2 Jan 2024 12:06:53 +0000 (12:06 +0000)
commitd6245bcfa38769e8ac5d6a61bdaf80d7f94945fc
tree66a8b78badb24508f8e94d3b2532ff10ce366fdc
parentf00e026416d6071fa946a8f27167eca1f4fbdbd1
manager.c: Fix regression due to using wrong free function.

Commit 424be345639d75c6cb7d0bd2da5f0f407dbd0bd5 introduced
a regression by calling ast_free on memory allocated by
realpath. This causes Asterisk to abort when executing this
function. Since the memory is allocated by glibc, it should
be freed using ast_std_free.

Resolves: #513
main/manager.c