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

Freeswitch SVN anthm at freeswitch.org
Thu Oct 30 12:40:54 EDT 2008


Author: anthm
Date: Thu Oct 30 12:40:54 2008
New Revision: 10204

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

Log:
whatcha talking bout

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_presence.c	Thu Oct 30 12:40:54 2008
@@ -1215,7 +1215,7 @@
 			}
 		}
 		switch_url_decode(route);
-		route_uri = strdup(route);
+		route_uri = route;
 		if ((p = strchr(route_uri, ','))) {
 			while (*(p-1) == ' ') {
 				p--;
@@ -1240,7 +1240,6 @@
 	switch_safe_free(contact);
 	switch_safe_free(id);
 	switch_safe_free(route);
-	switch_safe_free(route_uri);
 	if (ext_profile) {
 		sofia_glue_release_profile(ext_profile);
 	}



More information about the Freeswitch-svn mailing list