wpa_supplicant(hidl): Fixed network resp handling

The string constructed needs to be corrected.

Also,
Audited all mallocs being done in the HIDL interface to
fix couple of memory leaks.

Bug: 33706511
Test: Compiles
Change-Id: I020128520f6ca13ffa0f64ba56dcad882ebc2729
2 files changed