Merge "hal: fix a bug introduced as part of changes done for fixing memroy leak"
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index fb14330..b1864cc 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -1699,7 +1699,7 @@
 
     kv_pairs = str_parms_to_str(reply);
     ALOGV_IF(kv_pairs != NULL, "%s: exit: returns - %s", __func__, kv_pairs);
-    free(reply);
+    free(kv_pairs);
 }
 
 /* Delay in Us */