Tue May 12 13:13:16 CDT 2009 Pekka Pessi <first.last@nokia.com>

* nua_client.c: removed extra NULL check from nua_client_request_complete()
  Ignore-this: cc1f1fb7bf8e4ae07f965846418410a
  
  Coverity issue 7310.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13329 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-05-15 15:59:02 +00:00
parent a0b8810d89
commit 1a9705a7b6
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
Fri May 15 10:57:19 CDT 2009
Fri May 15 10:58:24 CDT 2009

View File

@ -336,7 +336,8 @@ nua_client_request_complete(nua_client_request_t *cr)
{
if (cr->cr_orq) {
nua_client_request_ref(cr);
if (cr && cr->cr_methods->crm_complete)
if (cr->cr_methods->crm_complete)
/* Calls nua_invite_client_complete() */
cr->cr_methods->crm_complete(cr);
nua_client_request_clean(cr);
if (nua_client_request_unref(cr))