diff options
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/nat/bsc_mgcp_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_mgcp_utils.c b/openbsc/src/nat/bsc_mgcp_utils.c index abfadb8b4..0e34e6885 100644 --- a/openbsc/src/nat/bsc_mgcp_utils.c +++ b/openbsc/src/nat/bsc_mgcp_utils.c @@ -178,6 +178,7 @@ int bsc_mgcp_policy_cb(struct mgcp_config *cfg, int endpoint, int state, const c } } else if (state == MGCP_ENDP_DLCX) { /* we will free the endpoint now in case the BSS does not respond */ + bsc_mgcp_clear(sccp); bsc_endp->pending_delete = 1; mgcp_free_endp(mgcp_endp); } |