mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 21:13:44 +00:00
bsc_msc_ip: Verify that the sccp connection is present.
The SCCP might have been freed by the error case already so we need to check this one for zero.
This commit is contained in:
@@ -88,6 +88,7 @@ void bss_sccp_free_data(struct bss_sccp_connection_data *data)
|
||||
{
|
||||
bsc_del_timer(&data->T10);
|
||||
bsc_del_timer(&data->sccp_it);
|
||||
if (data->sccp)
|
||||
bsc_free_queued(data->sccp);
|
||||
bts_free_queued(data);
|
||||
llist_del(&data->active_connections);
|
||||
|
||||
Reference in New Issue
Block a user