From: Anthony Minessale Date: Wed, 30 Mar 2011 01:39:21 +0000 (-0500) Subject: missed a spot X-Git-Tag: v1.2-rc1~120^2~5^2~53^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8806ba8c2fa2e54b54eafb2a9e7c899dfe8b5926;p=thirdparty%2Ffreeswitch.git missed a spot --- diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index ea7bc73684..9804e53238 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -1971,6 +1971,10 @@ SWITCH_DECLARE(switch_status_t) switch_say_file_handle_create(switch_say_file_ha { switch_assert(sh); + if (zstr(ext)) { + ext = "wav"; + } + *sh = malloc(sizeof(**sh)); memset(*sh, 0, sizeof(**sh));