Skip to content

Commit

Permalink
IMS-USRLOC-PCSCF: Set contact to NULL for safety, if not found
Browse files Browse the repository at this point in the history
  • Loading branch information
carstenbock committed Jan 12, 2017
1 parent ce14ab1 commit cd6313a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/ims_usrloc_pcscf/udomain.c
Expand Up @@ -567,6 +567,8 @@ int get_pcontact(udomain_t* _d, pcontact_info_t* contact_info, struct pcontact**
}

LM_DBG("contact not found in memory\n");
// Default: Not found.
*_c = NULL;

return 1; /* Nothing found */
}
Expand Down

0 comments on commit cd6313a

Please sign in to comment.