[Freeswitch-svn] [commit] r6350 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
mikej at freeswitch.org
Mon Nov 19 22:24:55 EST 2007
Author: mikej
Date: Mon Nov 19 22:24:55 2007
New Revision: 6350
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
Log:
whoops
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c Mon Nov 19 22:24:55 2007
@@ -2054,7 +2054,9 @@
}
if ((alert_info = sip_alert_info(sip))) {
- switch_channel_set_variable(channel, "alert_info", sip_header_as_string(profile->home, (void *) alert_info));
+ char *tmp = sip_header_as_string(profile->home, (void *) alert_info);
+ switch_channel_set_variable(channel, "alert_info", tmp);
+ su_free(profile->home, tmp);
}
check_decode(displayname, session);
More information about the Freeswitch-svn
mailing list