commit | 2e032359901c7912087e49e8f028ca64fb473c3b | [log] [tgz] |
---|---|---|
author | Narsinga Rao Chella <nrchella@codeaurora.org> | Wed Jan 29 12:52:19 2014 -0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Feb 03 11:01:42 2014 -0800 |
tree | fe31851af40a80b104ccf6789af78c2349b6cba7 | |
parent | 084deffc6d3032bac8554ea89f30bcc5df1e4a9f [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