]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Tue, 2 Jan 2024 12:07:05 +0000 (12:07 +0000)
commitfa3922a4d28860d415614347d9f06c233d2beb07
tree26a27c1c35a6666757706085d6e12268429cc2df
parent8c3ececb12d82ee5d63adad6b9f9e79ad239e803
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