提交 95145a1b authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-3386 --resolve please try this

上级 9b289368
...@@ -97,11 +97,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_create(switch_ivr_dmachine_t ...@@ -97,11 +97,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_create(switch_ivr_dmachine_t
switch_ivr_dmachine_callback_t nonmatch_callback, switch_ivr_dmachine_callback_t nonmatch_callback,
void *user_data) void *user_data)
{ {
switch_byte_t my_pool = !!pool; switch_byte_t my_pool = 0;
switch_ivr_dmachine_t *dmachine; switch_ivr_dmachine_t *dmachine;
if (!pool) { if (!pool) {
switch_core_new_memory_pool(&pool); switch_core_new_memory_pool(&pool);
my_pool = 1;
} }
dmachine = switch_core_alloc(pool, sizeof(*dmachine)); dmachine = switch_core_alloc(pool, sizeof(*dmachine));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论