[Freeswitch-svn] [commit] r12465 - freeswitch/trunk/src
FreeSWITCH SVN
mikej at freeswitch.org
Thu Mar 5 08:44:28 PST 2009
Author: mikej
Date: Thu Mar 5 10:44:28 2009
New Revision: 12465
Log:
fix assert when calling speech_open without a pool
Modified:
freeswitch/trunk/src/switch_core_speech.c
Modified: freeswitch/trunk/src/switch_core_speech.c
==============================================================================
--- freeswitch/trunk/src/switch_core_speech.c (original)
+++ freeswitch/trunk/src/switch_core_speech.c Thu Mar 5 10:44:28 2009
@@ -78,7 +78,7 @@
}
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;
More information about the Freeswitch-svn
mailing list