[asterisk-commits] file: branch 1.4 r53152 - /branches/1.4/apps/app_playback.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Feb 5 10:06:19 MST 2007


Author: file
Date: Mon Feb  5 11:06:18 2007
New Revision: 53152

URL: http://svn.digium.com/view/asterisk?view=rev&rev=53152
Log:
Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by junky)

Modified:
    branches/1.4/apps/app_playback.c

Modified: branches/1.4/apps/app_playback.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_playback.c?view=diff&rev=53152&r1=53151&r2=53152
==============================================================================
--- branches/1.4/apps/app_playback.c (original)
+++ branches/1.4/apps/app_playback.c Mon Feb  5 11:06:18 2007
@@ -68,7 +68,7 @@
 ;
 
 
-static struct ast_config *say_cfg;
+static struct ast_config *say_cfg = NULL;
 /* save the say' api calls.
  * The first entry is NULL if we have the standard source,
  * otherwise we are sourcing from here.



More information about the asterisk-commits mailing list