diff options
author | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | 2009-08-14 14:52:17 +0200 |
---|---|---|
committer | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | 2009-08-14 14:52:17 +0200 |
commit | 86b17172fd533fa6588e6beab9782fc4e2193810 (patch) | |
tree | c789eece3d58a8cbc25feffa5a105d490689a85a /openbsc/src/transaction.c | |
parent | fed176ab90fe51ba503e2b863fed48dff0b7c4e7 (diff) |
fix sms layer timer leak/corruiption using trans_free()
we only stopped the cp1* timer on reception of cp-ack, but not
in error cases like rx of cp-error.
Diffstat (limited to 'openbsc/src/transaction.c')
-rw-r--r-- | openbsc/src/transaction.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/transaction.c b/openbsc/src/transaction.c index 3825de119..5e556653a 100644 --- a/openbsc/src/transaction.c +++ b/openbsc/src/transaction.c @@ -92,6 +92,9 @@ void trans_free(struct gsm_trans *trans) case GSM48_PDISC_CC: _gsm48_cc_trans_free(trans); break; + case GSM48_PDISC_SMS: + _gsm411_sms_trans_free(trans); + break; } if (trans->lchan) |