bsc_api: Clear lchan->conn on lchan_release

Set conn to NULL before starting the release procedure, remove
code to check for a lchan->conn as it can not happen. If there
are any memleaks we will notice them.
Detach the lchan->conn from the channel before detaching.
2 files changed
tree: 29aea14c32bcb701de9d3583a5d04cc083fd9086
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/