Author: rmudgett
Date: Wed Aug 20 17:17:44 2014
New Revision: 421602

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421602
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

Modified:
    branches/11/   (props changed)
    branches/11/main/cli.c

Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/11/main/cli.c
URL: 
http://svnview.digium.com/svn/asterisk/branches/11/main/cli.c?view=diff&rev=421602&r1=421601&r2=421602
==============================================================================
--- branches/11/main/cli.c (original)
+++ branches/11/main/cli.c Wed Aug 20 17:17:44 2014
@@ -227,7 +227,7 @@
        if (c)
                c = ast_strdup(c);
 
-       free(d);
+       ast_std_free(d);
 
        return c;
 }


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to