[Freeswitch-svn] [commit] r13334 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nua

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 09:03:45 PDT 2009


Author: mikej
Date: Fri May 15 11:03:45 2009
New Revision: 13334

Log:
Wed May 13 04:19:01 CDT 2009  Pekka Pessi <first.last at nokia.com>
  * outbound.c: logging string after freeing it.
  Ignore-this: 78c744681a08302beaa01b3752bd5f43
  
  Coverity issue.



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Fri May 15 11:03:45 2009
@@ -1 +1 @@
-Fri May 15 11:03:00 CDT 2009
+Fri May 15 11:03:27 CDT 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/outbound.c	Fri May 15 11:03:45 2009
@@ -309,13 +309,12 @@
   }
 
   invalid = s && s[0];
-  su_free(NULL, options);
-
-  if (invalid) {
+  if (invalid)
     SU_DEBUG_1(("outbound(%p): invalid options \"%s\"\n",
 		(void *)ob->ob_owner, options));
+  su_free(NULL, options);
+  if (invalid)
     return -1;
-  }
 
   if (prefs->natify &&
       !(prefs->outbound ||



More information about the Freeswitch-svn mailing list