wlan: Fix issues in limSetLinkStateForPostAssocCallback()

Static source code analysis identified several issues in
limSetLinkStateForPostAssocCallback() including memory leaks, a double
free, and access to an uninitialized variable, so resolve these
issues.

Change-Id: I13cf8f079996ef1677336b3db435bf5e3585aa55
CRs-fixed: 470188
1 file changed
tree: dd324f16fbed747953b822feeb8b818e3a267aa5
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig