gsm0408_clear_request(): actually free the released conn

By having conn->in_release == 1, calling msc_release_connection() has no
effect and thus never frees the conn. So, after all pending requests have
been discarded, also discard and free the unused connection.
This commit is contained in:
Neels Hofmeyr
2016-05-04 15:35:37 +02:00
parent 5f3896f0f9
commit 12fb6b3944

View File

@@ -227,6 +227,8 @@ restart:
goto restart;
}
}
msc_subscr_con_free(conn);
}
/* clear all transactions globally; used in case of MNCC socket disconnect */