提交 75ad4f39 authored 作者: Michael Jerris's avatar Michael Jerris

cleanup.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6713 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 c3d3656a
......@@ -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);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论