FS-4224 --resolve this was a regression from d6374535
to fix FS-3029, when you find a profile you must release it
This commit is contained in:
parent
10617b6153
commit
a672c99a57
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue