projects
/
platform
/
core
/
api
/
smart-traffic-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cd1c6a
)
Fix memory leak
61/248661/1
accepted/tizen_6.5_unified
accepted/tizen/6.5/unified/20211028.095450
accepted/tizen/unified/20210209.124359
submit/tizen/20201227.231914
submit/tizen/20210209.011048
submit/tizen_6.5/20211028.161801
tizen_6.5.m2_release
author
hyunuk.tak
<hyunuk.tak@samsung.com>
Tue, 1 Dec 2020 08:17:03 +0000
(17:17 +0900)
committer
hyunuk.tak
<hyunuk.tak@samsung.com>
Tue, 1 Dec 2020 08:17:03 +0000
(17:17 +0900)
Change-Id: I592d0c65e7be4e359e2d3ef64b45642dfaba315c
test/battery.c
patch
|
blob
|
history
diff --git
a/test/battery.c
b/test/battery.c
index 3b0ece8ffdb6628088716dea051e1d2373cdd19a..09ddfbf00582ae1f515ef3166dc3c124d4540732 100755
(executable)
--- a/
test/battery.c
+++ b/
test/battery.c
@@
-418,6
+418,7
@@
static int __test_battery_get_dn(MManager *mm, struct menu_data *menu)
if (ret == STC_ERROR_NONE)
__battery_print_dn_data(dn_data);
+ g_free(dn_data);
return ret;
}
@@
-430,6
+431,7
@@
static int __test_battery_get_wifi(MManager *mm, struct menu_data *menu)
if (ret == STC_ERROR_NONE)
__battery_print_wifi_data(wifi_data);
+ g_free(wifi_data);
return ret;
}