aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-02 03:34:09 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-02 03:34:09 +0000
commit280f363cc48429e656d88fb9b0c1c5ff0b132aef (patch)
tree5a83fc6ea5c8ea30b06af418f3aebd8675185319
parentfaed21bdb8089d1286972caa73966876980cc416 (diff)
add a comment where some memory usage optimization needs to be done
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@31613 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--res/res_musiconhold.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/res_musiconhold.c b/res/res_musiconhold.c
index e351e7347..15267d487 100644
--- a/res/res_musiconhold.c
+++ b/res/res_musiconhold.c
@@ -133,6 +133,7 @@ struct mohclass {
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;