diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-05-04 15:36:56 +0200 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-05-04 16:06:59 +0200 |
commit | 3cda07754184867c49b7116f6dc000d03c0e33ea (patch) | |
tree | 6ea9544fe50aa9f66f0c80c78b4a676024a778f5 /openbsc/src/osmo-cscn | |
parent | c3da27fa983272d25a1f7fe8b53fac6ebf2c7cbd (diff) |
IuCS: properly clean up conn on release
Don't call msc_subscr_con_free() directly, instead use
gsm0408_clear_request(), which properly cleans up all pending operations
before freeing the connection.
Diffstat (limited to 'openbsc/src/osmo-cscn')
-rw-r--r-- | openbsc/src/osmo-cscn/iucs_ranap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/osmo-cscn/iucs_ranap.c b/openbsc/src/osmo-cscn/iucs_ranap.c index f88a55242..f34a2003e 100644 --- a/openbsc/src/osmo-cscn/iucs_ranap.c +++ b/openbsc/src/osmo-cscn/iucs_ranap.c @@ -91,7 +91,7 @@ int iucs_rx_ranap_event(struct gsm_network *network, case IU_EVENT_LINK_INVALIDATED: LOGP(DIUCS, LOGL_INFO, "IuCS release for %s\n", subscr_name(conn->subscr)); - msc_subscr_con_free(conn); + gsm0408_clear_request(conn, 0); return 0; case IU_EVENT_SECURITY_MODE_COMPLETE: |