commit | f921fb139bd5ee008ec993c76b8a89a535fd11e9 | [log] [tgz] |
---|---|---|
author | Rui Miguel Silva <rui.silva@linaro.org> | Fri Jan 08 13:53:46 2016 +0000 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Mon Jan 11 19:18:14 2016 -0800 |
tree | 726e26a1f65cf713838bd6f9b3e1b00f2d47ece2 | |
parent | d9eafd58e3e365d71cd7d477a1c5675db1931027 [diff] |
greybus: power_supply: fix leak getting string properties When fetching string properties, memory was being allocated and leaked when it was not necessary to do so. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>