commit | 9d0bd791836f2b070eb80fc83660ad715e0c7a09 | [log] [tgz] |
---|---|---|
author | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | Fri Aug 14 14:52:17 2009 +0200 |
committer | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | Fri Aug 14 14:52:17 2009 +0200 |
tree | c789eece3d58a8cbc25feffa5a105d490689a85a | |
parent | f91516eac05035a34352bf20b6e360511a390ee1 [diff] [blame] |
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.
diff --git a/openbsc/src/transaction.c b/openbsc/src/transaction.c index 3825de1..5e55665 100644 --- a/openbsc/src/transaction.c +++ b/openbsc/src/transaction.c
@@ -92,6 +92,9 @@ case GSM48_PDISC_CC: _gsm48_cc_trans_free(trans); break; + case GSM48_PDISC_SMS: + _gsm411_sms_trans_free(trans); + break; } if (trans->lchan)