From 022cafc8aab7ed7ec89ff0fb70aa9f8dcc5b0882 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 28 Sep 2009 20:36:49 +0000 Subject: [PATCH] doh git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15008 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/formats/mod_native_file/mod_native_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);