From: Anthony Minessale Date: Thu, 30 Jun 2011 23:59:29 +0000 (-0500) Subject: FS-3386 --resolve please try this X-Git-Tag: v1.2-rc1~108^2^2~100 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95145a1b283d76e47447aebe7d1ad729899494ab;p=thirdparty%2Ffreeswitch.git FS-3386 --resolve please try this --- 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));