]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
cleanup.
authorMichael Jerris <mike@jerris.com>
Wed, 12 Dec 2007 22:55:46 +0000 (22:55 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 12 Dec 2007 22:55:46 +0000 (22:55 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6713 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/formats/mod_sndfile/mod_sndfile.c

index 2b7538f0457719ce1da9f1356a5678a8a9eed18f..74bdadaa85ebcd81f2d61754c2165c48fc703a60 100644 (file)
@@ -327,9 +327,7 @@ static switch_status_t setup_formats(void)
                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);