]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 28 Sep 2009 20:36:49 +0000 (20:36 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 28 Sep 2009 20:36:49 +0000 (20:36 +0000)
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

index bea388bbe8a1cb423201ba98e7925884174bf77a..551a62426b02c69753fb99e8b9b8a62cff9c407d 100644 (file)
@@ -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);