From bc05b4c6cee18c56f53b644d19ec6c3ef09a9918 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 15 Nov 2013 21:33:20 +0500 Subject: [PATCH] FS-5977 --resolve --- src/mod/endpoints/mod_sofia/sofia_glue.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mod/endpoints/mod_sofia/sofia_glue.c b/src/mod/endpoints/mod_sofia/sofia_glue.c index 68f47600ad..6c1311e5e5 100644 --- a/src/mod/endpoints/mod_sofia/sofia_glue.c +++ b/src/mod/endpoints/mod_sofia/sofia_glue.c @@ -6253,6 +6253,10 @@ int sofia_recover_callback(switch_core_session_t *session) end: + if (profile) { + sofia_glue_release_profile(profile); + } + return r; }