bsc: Fix the clear to release resources first, then set to NULL

This is fixing a crash reported by Nico. Somehow I staged an
unfinished version of this code. The crash should be gone.
1 file changed
tree: 760639af90c6e30d8adae0cdfa93c22a8819e247
  1. hlrsync/
  2. linux-kernel/
  3. openbsc/
  4. wireshark/