From: Joshua Colp Date: Mon, 5 Feb 2007 17:06:18 +0000 (+0000) Subject: Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by junky) X-Git-Tag: 1.4.1~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=687b672a09fa4cdeeeaef2702ce10146589ab550;p=thirdparty%2Fasterisk.git Ensure say_cfg is NULL when the module is loaded. (issue #8946 reported by junky) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53152 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_playback.c b/apps/app_playback.c index 7eeee9dd29..5c566fd935 100644 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -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.