commit | 29b8fc7b8d7cf3ea54e9a41ac926e8507d42ed0f | [log] [tgz] |
---|---|---|
author | Narsinga Rao Chella <nrchella@codeaurora.org> | Wed Jan 29 12:52:19 2014 -0800 |
committer | Narsinga Rao Chella <nrchella@codeaurora.org> | Wed Jan 29 14:43:25 2014 -0800 |
tree | d92ca72a0de6d32c6b9d3362bfa5a2a7daf79edc | |
parent | 2d477702a87cd31f1dfb5d29f481124ecb85edee [diff] |
hal: fix a memeory leak caused by using str_parms_to_str() str_parms_to_str() requires the caller to free() the returned string. Free the memory pointed to by "str" before overwriting the "str" with the new pointer which is returned by strdup() function. Change-Id: I602ae37cce684e0c62b0ec310080bb0cd675e35a CRs-fixed: 608384