forked from Mirrors/freeswitch
FS-3386 --resolve please try this
This commit is contained in:
parent
9b2893684d
commit
95145a1b28
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user