[mgcp] Reset the the address when freeing the endp as well
This commit is contained in:
parent
7279d24232
commit
b4c7b274a1
|
@ -728,4 +728,6 @@ void mgcp_free_endp(struct mgcp_endpoint *endp)
|
|||
|
||||
endp->net_rtp = endp->net_rtcp = endp->bts_rtp = endp->bts_rtcp = 0;
|
||||
endp->net_payload_type = endp->bts_payload_type = -1;
|
||||
memset(&endp->remote, 0, sizeof(endp->remote));
|
||||
memset(&endp->bts, 0, sizeof(endp->bts));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue