]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Fri, 12 Jan 2024 18:29:20 +0000 (18:29 +0000)
commitc6b82b19a4da5dbc88d783b05627e688ff5fefd7
tree8556bb13e6ea83580afcd884d6d22f89a3abf2e7
parent8a73bac226af52e8f91fb4cef53b86da0aafd5ad
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
(cherry picked from commit b9ed57092fa76726b12254f35c2cc517eb97008d)
main/manager.c