wlan: Fix memory leaks found by Static source code analysis

Memory are not freed upon exit of the function, this may cause
memory leak. So freeing the momory where ever required, so the
memory leak can be avoided.

CRs-Fixed: 852435
Change-Id: Ic5609eb69ab4f958b4c17ab96810442e167ccf61
1 file changed
tree: a74dd6bd40040d47289447318456189ce3b7bf90
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile