wlan: Fix crash due to freeing invalid object pointer

Crash observed because of freeing invalid object pointer,
A variable is used to parse the ini in hdd_string_to_string_array
utility, variable base address is incremented and freed.

To fix the issue a temporary variable is allocated with the same
memory address and freed at the end.

Change-Id: I044ca13f72834a5f07d275af5a3ab54522d6ae7f
CRs-fixed: 2036277
1 file changed
tree: 4c7c5a69e0be05b6c84beb3def0a8095bf8908d5
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile