From fd721e67a435b113f0d9a60630658c923bd234a3 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 5 Mar 2009 16:44:28 +0000 Subject: [PATCH] fix assert when calling speech_open without a pool git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12465 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core_speech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_core_speech.c b/src/switch_core_speech.c index eeeddc50f2..f156a81230 100644 --- a/src/switch_core_speech.c +++ b/src/switch_core_speech.c @@ -78,7 +78,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_speech_open(switch_speech_handle_t * } sh->rate = rate; - sh->name = switch_core_strdup(pool, module_name); + sh->name = switch_core_strdup(sh->memory_pool, module_name); sh->samples = switch_samples_per_packet(rate, interval); sh->samplerate = rate; sh->native_rate = rate;