commit | d30ed6b6f2d8eb56a035354694d12f4395103edc | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Wed Dec 17 21:21:36 2014 +0100 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Wed Dec 17 21:21:36 2014 +0100 |
tree | 1910cebcd518764cad7ec747f91696baba408399 | |
parent | f7e23c5ff7d28c985d6c1e6d1dc0b9e8f5895a30 [diff] |
ho: Make sure the timer is always stopped In case of a ho_chan_activ_nack (sent due another bug inside both sysmobts and openbsc) the code would not stop the timer but free the datastructure. This can lead to a clear segfault when the timer has expired. Create a "free" function which is responsible to detach the handover structure, stop the timer (which is idempotent) and free the structure.