From: Michael Jerris Date: Wed, 12 Dec 2007 22:55:46 +0000 (+0000) Subject: cleanup. X-Git-Tag: v1.0-rc1~1132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75ad4f391ccf01343f467f0fe20d162f2a11b8cc;p=thirdparty%2Ffreeswitch.git cleanup. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6713 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/formats/mod_sndfile/mod_sndfile.c b/src/mod/formats/mod_sndfile/mod_sndfile.c index 2b7538f045..74bdadaa85 100644 --- a/src/mod/formats/mod_sndfile/mod_sndfile.c +++ b/src/mod/formats/mod_sndfile/mod_sndfile.c @@ -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);