]> git.sur5r.net Git - i3/i3status/commit
Fix potential memory leak on Linux
authorOlivier Gayot <olivier.gayot@sigexec.com>
Wed, 20 Jun 2018 09:58:10 +0000 (11:58 +0200)
committerOlivier Gayot <olivier.gayot@sigexec.com>
Wed, 20 Jun 2018 12:20:17 +0000 (14:20 +0200)
commit445b1925e3d2e239740d7765e5892d0671174e8e
tree8514f24a66a7cf6aacc53ec25386a0b2e1f9450f
parentc64195d14728aa82e280d022e9f7ceff71cfc6c1
Fix potential memory leak on Linux

The function slurp_all_batteries(), on Linux, allocates memory
dynamically

Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
src/print_battery_info.c