]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by junky)
authorJoshua Colp <jcolp@digium.com>
Mon, 5 Feb 2007 17:06:18 +0000 (17:06 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 5 Feb 2007 17:06:18 +0000 (17:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53152 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_playback.c

index 7eeee9dd29b89e9002b80ba5e661e1d349099bf2..5c566fd935b07e1346af307927d8d4475f464ec0 100644 (file)
@@ -68,7 +68,7 @@ static char *descrip =
 ;
 
 
-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.