Skip to content
Snippets Groups Projects
Commit 33a0aa38 authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

sipaccount: fix nullptr access

SipAccount::CheckNATAddress may use regc_ member
when this one has been previsouly destroyed
and set to nullptr.
This patch checks regc_ value and take care to return correctly,
to prevent call to pjsip_regc_update_contact with nullptr regc.

Change-Id: I97590debd672095fed63ced40d3c541333b773f8
Tuleap: #172
parent d702b297
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment