]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Wed May 13 04:19:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
authorMichael Jerris <mike@jerris.com>
Fri, 15 May 2009 16:03:45 +0000 (16:03 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 15 May 2009 16:03:45 +0000 (16:03 +0000)
  * outbound.c: logging string after freeing it.
  Ignore-this: 78c744681a08302beaa01b3752bd5f43

  Coverity issue.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13334 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/.update
libs/sofia-sip/libsofia-sip-ua/nua/outbound.c

index 957d88988b2c8f2c5bce9b3d9ff651da6cc4a241..36c00db00ff190e8d6b1247c142c281b949b2cb0 100644 (file)
@@ -1 +1 @@
-Fri May 15 11:03:00 CDT 2009
+Fri May 15 11:03:27 CDT 2009
index 3141629749255adb90cd3f76117e8a97d31bab12..4ab3036de72d3f1b5ee507cf7a004549b32cfc9f 100644 (file)
@@ -309,13 +309,12 @@ int outbound_set_options(outbound_t *ob,
   }
 
   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 ||