commit | c998f9248bed1e17433555b3205b63a2ebb3c816 | [log] [tgz] |
---|---|---|
author | Lina Iyer <ilina@codeaurora.org> | Fri May 05 12:07:43 2017 -0600 |
committer | Lina Iyer <ilina@codeaurora.org> | Tue May 16 09:46:15 2017 -0600 |
tree | 34ab09aa89fba162f402a03c95ca51eeff32831b | |
parent | 492b05c774af909341fcc25f794c78a69f4c0cbb [diff] |
drivers: qcom: rpm_stats: Fix memory leak The @privdata memory allocated is not freed at the end of the function. There is no need for this memory to be in heap. Allocate the variable in stack. Change-Id: Id18917194b657bf43e35181106f914d4b2c3055c Signed-off-by: Lina Iyer <ilina@codeaurora.org>