From 95145a1b283d76e47447aebe7d1ad729899494ab Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 30 Jun 2011 18:59:29 -0500 Subject: [PATCH] FS-3386 --resolve please try this --- src/switch_ivr_async.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 8d01e11762..d8b67e7706 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -97,11 +97,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_dmachine_create(switch_ivr_dmachine_t switch_ivr_dmachine_callback_t nonmatch_callback, void *user_data) { - switch_byte_t my_pool = !!pool; + switch_byte_t my_pool = 0; switch_ivr_dmachine_t *dmachine; if (!pool) { switch_core_new_memory_pool(&pool); + my_pool = 1; } dmachine = switch_core_alloc(pool, sizeof(*dmachine));