Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d24a8011 authored by Lina Iyer's avatar Lina Iyer
Browse files

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: default avatarLina Iyer <ilina@codeaurora.org>
parent c054c528
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment