qcacld-3.0: Release sapctx in all cases when sap close is requested

Present wlansap_close API walks out without releasing the sapctx when
hal context is null which creates the memory leak.

Release sapctx in all cases when caller requests to close the
sap session.

CRs-Fixed: 2040045
Change-Id: I3c8f0a33c11de9d88d6b29f726f36a838f2428d2
1 file changed
tree: 5a8e12121240d0eae18a03f4368d40187c546521
  1. core/
  2. uapi/
  3. Android.mk
  4. Kbuild
  5. Kconfig
  6. Makefile
  7. README.txt