diff options
| author | Prasad Sodagudi <psodagud@codeaurora.org> | 2013-09-04 22:27:54 +0530 |
|---|---|---|
| committer | Prasad Sodagudi <psodagud@codeaurora.org> | 2013-09-16 18:45:47 +0530 |
| commit | 62a3df27399cfe2b110d4a173f8617973170ad79 (patch) | |
| tree | 9fb95b8b0c061fc0c60e4897114dfda1759f2025 /scripts/build-all.py | |
| parent | 91df8430a7476a02bed6b47fdc00e69d0aa296f4 (diff) | |
power: qpnp-bms: Fix memory leak
During bms driver probe set_battery_data() function is allocating
memory for struct bms_battery_data and not using that memory after
set_battery_data() function. So free memory allocated for
struct bms_battery_data at the end of function set_battery_data().
Change-Id: Iee37bfeaa334d79f0821a795707f088a786c2a1b
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions
