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:
Anthony Minessale 2012-05-22 07:59:16 -05:00
parent 10617b6153
commit a672c99a57
1 changed files with 1 additions and 0 deletions

View File

@ -5858,6 +5858,7 @@ int sofia_glue_recover(switch_bool_t flush)
for (m = matches->head; m; m = m->next) {
if ((profile = sofia_glue_find_profile(m->val))) {
r += sofia_glue_profile_recover(profile, flush);
sofia_glue_release_profile(profile);
}
}
switch_console_free_matches(&matches);