]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cli.c: Fix tab completion of "module load" when MALLOC_DEBUG is enabled.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 20 Aug 2014 22:13:44 +0000 (22:13 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 20 Aug 2014 22:13:44 +0000 (22:13 +0000)
commitf92b7fe87d07008ea10c9d0eed3ff5b1b5cbf52f
treef7736a20f3d1ff3eb93582061b74cdbe8f673950
parent0b36c21dfdf8b13bd47440ad919284a0cb396e3b
cli.c: Fix tab completion of "module load" when MALLOC_DEBUG is enabled.

filename_completion_function() returns memory that was not allocated by
the MALLOC_DEBUG allocation tracker so the memory must be freed by
ast_std_free().

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@421600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cli.c