From: Mike Jerris Date: Mon, 25 Jul 2016 18:01:52 +0000 (-0400) Subject: FS-9381: [mod_sofia] fix leak in sofia_presence_chat_send X-Git-Tag: v1.6.10~1^2~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c8691009244922a99c5f243294d6a0ac2150f32;p=thirdparty%2Ffreeswitch.git FS-9381: [mod_sofia] fix leak in sofia_presence_chat_send --- diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 343c231a44..e1973efabe 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -384,6 +384,7 @@ switch_status_t sofia_presence_chat_send(switch_event_t *message_event) sofia_glue_free_destination(dst); switch_safe_free(dup_dest); + switch_safe_free(user_via); switch_safe_free(remote_host); }