]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
full_contact must be freed by sofia. There isn't a chance of this having blown anythi...
authorWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 02:13:18 +0000 (19:13 -0700)
committerWilliam King <william.king@quentustech.com>
Sun, 19 May 2013 02:13:44 +0000 (19:13 -0700)
src/mod/endpoints/mod_sofia/sofia.c

index d824e5eeddcd538de8d8aa17b3ee1b4a2943170f..ccdc7f55e17ce49ecf1a58a9d9b5a40874993ea2 100644 (file)
@@ -5406,7 +5406,7 @@ static void sofia_handle_sip_r_invite(switch_core_session_t *session, int status
                                if (profile->pres_type) {
                                        const char *presence_data = switch_channel_get_variable(channel, "presence_data");
                                        const char *presence_id = switch_channel_get_variable(channel, "presence_id");
-                                       char *full_contact = "";
+                                       char *full_contact = NULL;
                                        char *p = NULL;
                                        time_t now;