[asterisk-commits] trunk r31613 - /trunk/res/res_musiconhold.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Jun 1 20:34:10 MST 2006


Author: russell
Date: Thu Jun  1 22:34:09 2006
New Revision: 31613

URL: http://svn.digium.com/view/asterisk?rev=31613&view=rev
Log:
add a comment where some memory usage optimization needs to be done

Modified:
    trunk/res/res_musiconhold.c

Modified: trunk/res/res_musiconhold.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_musiconhold.c?rev=31613&r1=31612&r2=31613&view=diff
==============================================================================
--- trunk/res/res_musiconhold.c (original)
+++ trunk/res/res_musiconhold.c Thu Jun  1 22:34:09 2006
@@ -133,6 +133,7 @@
 	char dir[256];
 	char args[256];
 	char mode[80];
+	/* XXX This means that we are allocating 64KB of memory for every musiconhold class XXX */
 	char filearray[MAX_MOHFILES][MAX_MOHFILE_LEN];
 	unsigned int flags;
 	int total_files;



More information about the asterisk-commits mailing list