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

FS-4224 --resolve this was a regression from d6374535 to fix FS-3029, when you…

 FS-4224 --resolve this was a regression from d6374535 to fix FS-3029, when you find a profile you must release it
上级 10617b61
...@@ -5858,6 +5858,7 @@ int sofia_glue_recover(switch_bool_t flush) ...@@ -5858,6 +5858,7 @@ int sofia_glue_recover(switch_bool_t flush)
for (m = matches->head; m; m = m->next) { for (m = matches->head; m; m = m->next) {
if ((profile = sofia_glue_find_profile(m->val))) { if ((profile = sofia_glue_find_profile(m->val))) {
r += sofia_glue_profile_recover(profile, flush); r += sofia_glue_profile_recover(profile, flush);
sofia_glue_release_profile(profile);
} }
} }
switch_console_free_matches(&matches); switch_console_free_matches(&matches);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论