cli.c: Fix tab completion of "module load" when MALLOC_DEBUG is enabled.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 20 Aug 2014 22:23:23 +0000 (22:23 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 20 Aug 2014 22:23:23 +0000 (22:23 +0000)
commit4672c139ddcaa7bae6600ed2ec330192a87f2883
tree35f4128c7df89a09fb7632076188776108806def
parent49f8bd4ad4c139b3260a7317d53c226d72f7bc9d
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().
........

Merged revisions 421600 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 421602 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 421608 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 421616 from http://svn.asterisk.org/svn/asterisk/branches/13

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