[svn-commits] rizzo: trunk r47536 - /trunk/main/cli.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Nov 13 05:01:25 MST 2006


Author: rizzo
Date: Mon Nov 13 06:01:25 2006
New Revision: 47536

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47536
Log:
free memory when unregistering an entry.

needs to be merged to 1.4


Modified:
    trunk/main/cli.c

Modified: trunk/main/cli.c
URL: http://svn.digium.com/view/asterisk/trunk/main/cli.c?view=diff&rev=47536&r1=47535&r2=47536
==============================================================================
--- trunk/main/cli.c (original)
+++ trunk/main/cli.c Mon Nov 13 06:01:25 2006
@@ -1308,6 +1308,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 svn-commits mailing list