]> 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:55 +0000 (12:06 +0000)
commitb9ed57092fa76726b12254f35c2cc517eb97008d
tree588145fc7746942ea4d31d44cc520205b467162c
parentb074c97f00546b9ec7fc11c021e93441c4554098
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