qcacld-3.0: Fix for memory leaks in multiple functions

1)  Fix for memory leaks lim management frame registration queue by
    unconditionally removing all nodes from queue and releasing the
    node pointer. This need to be done for FTM mode also.

2) Free u_mac_post_ctrl_msgu_mac_post_ctrl_msg in the error cases.

3) In wma_tx_packet(), free tx_frame memory in error cases.

Change-Id: Idbae6b2666d38d0f130d0115e5a05387c0b63c31
CRs-fixed: 2027588
5 files changed
tree: 3f8d4c929d7680fcc2aaff6e6d4e5a69ac33d180
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt