Fix to use g_free() instead of free() 03/244703/1
authorYoungjae Cho <y0.cho@samsung.com>
Wed, 23 Sep 2020 08:57:50 +0000 (17:57 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Wed, 23 Sep 2020 08:57:50 +0000 (17:57 +0900)
commite8bcc3e2d009157beb23bf12b53fe21c871271f3
tree9f9b59833b0d1c0bf8d13c2667a54e47cc6c93d1
parent9a2ed2843c9ebe457cec286a63ef826b977242bb
Fix to use g_free() instead of free()

Memory allocated by g_malloc(and such as g_new()) should be matched with
g_free().

Change-Id: Iafc9f5c29ed9d120d312df681f6125e80bc5fbb6
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/battery.c