diff options
Diffstat (limited to 'src/osmo-bsc/osmo_bsc_sigtran.c')
-rw-r--r-- | src/osmo-bsc/osmo_bsc_sigtran.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/osmo_bsc_sigtran.c b/src/osmo-bsc/osmo_bsc_sigtran.c index 7669b67b7..67f870378 100644 --- a/src/osmo-bsc/osmo_bsc_sigtran.c +++ b/src/osmo-bsc/osmo_bsc_sigtran.c @@ -385,8 +385,8 @@ int osmo_bsc_sigtran_del_conn(struct osmo_bsc_sccp_con *conn) } /* Remove mgcp context if existant */ - if (conn->mgcp_ctx) - mgcp_free_ctx(conn->mgcp_ctx); + if (conn->user_plane.mgcp_ctx) + mgcp_free_ctx(conn->user_plane.mgcp_ctx); llist_del(&conn->entry); talloc_free(conn); |