full_contact must be freed by sofia. There isn't a chance of this having blown anything up, but Coverity is right that this should be initialized with NULL to be safe against future refactors.

This commit is contained in:
William King 2013-05-18 19:13:18 -07:00
parent ef1bf8e34a
commit 9ace496fe3
1 changed files with 1 additions and 1 deletions

View File

@ -5462,7 +5462,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;