提交 fd4a3d55 authored 作者: Anthony Minessale's avatar Anthony Minessale

prevent endless loop

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8754 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 f4160459
...@@ -1990,7 +1990,12 @@ APR_DECLARE(void) apr_pool_cleanup_kill(apr_pool_t *p, const void *data, ...@@ -1990,7 +1990,12 @@ APR_DECLARE(void) apr_pool_cleanup_kill(apr_pool_t *p, const void *data,
} }
lastp = &c->next; lastp = &c->next;
c = c->next;
if (c == c->next) {
c = NULL;
} else {
c = c->next;
}
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论