[svn-commits] rmudgett: trunk r421623 - in /trunk: ./ main/cli.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 20 17:23:25 CDT 2014
Author: rmudgett
Date: Wed Aug 20 17:23:23 2014
New Revision: 421623
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421623
Log:
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
Modified:
trunk/ (props changed)
trunk/main/cli.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/main/cli.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/cli.c?view=diff&rev=421623&r1=421622&r2=421623
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Wed Aug 20 17:23:23 2014
@@ -239,7 +239,7 @@
if (c)
c = ast_strdup(c);
- free(d);
+ ast_std_free(d);
return c;
}
More information about the svn-commits
mailing list