Commit 170a7f57 authored by Pekka Pessi's avatar Pekka Pessi

nua_client.c: removed extra NULL check from nua_client_request_complete()

Ignore-this: cc1f1fb7bf8e4ae07f965846418410a

Coverity issue 7310.

darcs-hash:20090512181316-db55f-e07399512ffa3ea82065edb6388d4a6f5dc9d96c.gz
parent fbd67f30
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment