From: Anthony Minessale Date: Mon, 28 Sep 2009 20:36:49 +0000 (+0000) Subject: doh X-Git-Tag: v1.0.6~1780 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=022cafc8aab7ed7ec89ff0fb70aa9f8dcc5b0882;p=thirdparty%2Ffreeswitch.git doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15008 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/formats/mod_native_file/mod_native_file.c b/src/mod/formats/mod_native_file/mod_native_file.c index bea388bbe8..551a62426b 100644 --- a/src/mod/formats/mod_native_file/mod_native_file.c +++ b/src/mod/formats/mod_native_file/mod_native_file.c @@ -152,7 +152,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_native_file_load) uint32_t x; for (x = 0; x < num_codecs; x++) { - supported_formats[x] = codecs[x]->iananame; + supported_formats[x] = switch_core_strdup(pool, codecs[x]->iananame); } *module_interface = switch_loadable_module_create_module_interface(pool, modname);