[Freeswitch-svn] [commit] r10477 - freeswitch/trunk/src/mod/endpoints/mod_sofia

FreeSWITCH SVN anthm at freeswitch.org
Thu Nov 20 06:22:41 PST 2008


Author: anthm
Date: Thu Nov 20 09:22:41 2008
New Revision: 10477

Log:
update

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c	Thu Nov 20 09:22:41 2008
@@ -1134,8 +1134,7 @@
 			switch_mutex_lock(tech_pvt->sofia_mutex);
 			
 			if ((var = switch_channel_get_variable(tech_pvt->channel, "sip_refer_reply"))) {
-				msg->string_reply = strdup(var); 
-				switch_set_flag(msg, SCSMF_FREE_STRING_REPLY);
+				msg->string_reply = switch_core_session_strdup(session, var); 
 			} else {
 				msg->string_reply = "no reply";
 			}



More information about the Freeswitch-svn mailing list