Make sure peer link is removed on hangup.
This commit is contained in:
parent
b53dc5ad06
commit
cc90f574e6
|
@ -903,7 +903,8 @@ static void interface_cleanup(struct capi_pvt *i)
|
|||
free(i->qsig_data.pr_propose_pn);
|
||||
|
||||
}
|
||||
|
||||
|
||||
i->peer = NULL;
|
||||
i->owner = NULL;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue