commit | e780d4c485031e24fdf3d05713b5f63ce258bb02 | [log] [tgz] |
---|---|---|
author | Prasad Sodagudi <psodagud@codeaurora.org> | Wed Sep 04 22:27:54 2013 +0530 |
committer | Prasad Sodagudi <psodagud@codeaurora.org> | Sun Sep 15 15:27:10 2013 +0530 |
tree | dea1cc33690cdbc1b0141859028d1a82a044f014 | |
parent | 4d09c41f181279378752fdff563c076500aa24b9 [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>