[Freeswitch-svn] [commit] r6713 - freeswitch/trunk/src/mod/formats/mod_sndfile

Freeswitch SVN mikej at freeswitch.org
Wed Dec 12 17:55:47 EST 2007


Author: mikej
Date: Wed Dec 12 17:55:46 2007
New Revision: 6713

Modified:
   freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c

Log:
cleanup.

Modified: freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_sndfile/mod_sndfile.c	Wed Dec 12 17:55:46 2007
@@ -327,9 +327,7 @@
 		if (!skip) {
 			char *p;
 			struct format_map *map = switch_core_permanent_alloc(sizeof(*map));
-			if (!map) {
-				abort();
-			}
+			switch_assert(map);
 
 			map->ext = switch_core_permanent_strdup(info.extension);
 			map->uext = switch_core_permanent_strdup(info.extension);



More information about the Freeswitch-svn mailing list