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

Freeswitch SVN mikej at freeswitch.org
Sun May 25 11:20:34 EDT 2008


Author: mikej
Date: Sun May 25 11:20:34 2008
New Revision: 8634

Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nea/nea_server.c

Log:
Thu May 22 10:36:30 EDT 2008  Pekka.Pessi at nokia.com
  * nea_server.c: fixed klocwork issues


Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Sun May 25 11:20:34 2008
@@ -1 +1 @@
-Sun May 25 11:19:51 EDT 2008
+Sun May 25 11:20:14 EDT 2008

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nea/nea_server.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nea/nea_server.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nea/nea_server.c	Sun May 25 11:20:34 2008
@@ -1493,8 +1493,9 @@
 		       nta_incoming_t *irq, 
 		       sip_t const *sip)
 {
-  nea_sub_t *s = NULL;
-  s = nea_sub_create(nes);
+  nea_sub_t *s = nea_sub_create(nes);
+  if (s == NULL)
+    return 500;
 
   s->s_from = sip_from_dup(nes->nes_home, sip->sip_from);
 



More information about the Freeswitch-svn mailing list