Revision
15008
Author
anthm
Date
2009-09-28 15:36:49 -0500 (Mon, 28 Sep 2009)

Log Message

doh

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/formats/mod_native_file/mod_native_file.c (15007 => 15008)


--- freeswitch/trunk/src/mod/formats/mod_native_file/mod_native_file.c	2009-09-28 19:47:35 UTC (rev 15007)
+++ freeswitch/trunk/src/mod/formats/mod_native_file/mod_native_file.c	2009-09-28 20:36:49 UTC (rev 15008)
@@ -152,7 +152,7 @@
 	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);