Thu May 22 10:36:30 EDT 2008 Pekka.Pessi@nokia.com

* nea_server.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8634 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-05-25 15:20:34 +00:00
parent abce217f77
commit f95ffe4150
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
Sun May 25 11:19:51 EDT 2008 Sun May 25 11:20:14 EDT 2008

View File

@ -1493,8 +1493,9 @@ int nea_server_add_irq(nea_server_t *nes,
nta_incoming_t *irq, nta_incoming_t *irq,
sip_t const *sip) sip_t const *sip)
{ {
nea_sub_t *s = NULL; nea_sub_t *s = nea_sub_create(nes);
s = nea_sub_create(nes); if (s == NULL)
return 500;
s->s_from = sip_from_dup(nes->nes_home, sip->sip_from); s->s_from = sip_from_dup(nes->nes_home, sip->sip_from);