wlan:Fix memory leak in limProcessTdls.c

Currently dynamic memory is allocated to pMsgTdlsChanSwitch.
But if the operating class of pMsgTdlsChanSwitch is 0,it simply
exits function without deallocating memory.As a part of fix,
memory is freed before returning from function.

Change-Id: If1fea34a0e7e1ff058bd80dcfc91303027dc8d58
CRs-Fixed: 737766
1 file changed
tree: 483d84c7e5fad3fb9a0d505417b911328a3d22c4
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile