[asterisk-commits] file: branch 1.4 r47542 -
/branches/1.4/main/cli.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Nov 13 09:30:38 MST 2006
Author: file
Date: Mon Nov 13 10:30:38 2006
New Revision: 47542
URL: http://svn.digium.com/view/asterisk?view=rev&rev=47542
Log:
Free full command string upon unregistering of CLI command. Backported from revision 47536 from rizzo.
Modified:
branches/1.4/main/cli.c
Modified: branches/1.4/main/cli.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/cli.c?view=diff&rev=47542&r1=47541&r2=47542
==============================================================================
--- branches/1.4/main/cli.c (original)
+++ branches/1.4/main/cli.c Mon Nov 13 10:30:38 2006
@@ -1414,6 +1414,7 @@
AST_LIST_LOCK(&helpers);
AST_LIST_REMOVE(&helpers, e, list);
AST_LIST_UNLOCK(&helpers);
+ free(e->_full_cmd);
}
return 0;
}
More information about the asterisk-commits
mailing list