missed a spot

This commit is contained in:
Anthony Minessale 2011-03-29 20:39:21 -05:00
parent eefdb764cf
commit 8806ba8c2f
1 changed files with 4 additions and 0 deletions

View File

@ -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));