]> 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:58 +0000 (12:06 +0000)
commitbb364fc61f563384645ff6b98779a7dc27032c31
treef8b5c7e411d219b4daa90b8d51004d668981a2bc
parent120cc1ea1132df766bb40bb6d6a83b1000867929
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