projects
/
platform
/
core
/
api
/
device.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e570769
)
power: fix uninitilized variable issues
02/101002/1
accepted/tizen/3.0/common/20161201.135139
accepted/tizen/3.0/ivi/20161201.031526
accepted/tizen/3.0/mobile/20161201.031404
accepted/tizen/3.0/tv/20161201.031439
accepted/tizen/3.0/wearable/20161201.031503
submit/tizen_3.0/20161130.101437
author
taeyoung
<ty317.kim@samsung.com>
Wed, 30 Nov 2016 05:22:35 +0000
(14:22 +0900)
committer
taeyoung
<ty317.kim@samsung.com>
Wed, 30 Nov 2016 05:24:18 +0000
(14:24 +0900)
Signed-off-by: taeyoung <ty317.kim@samsung.com>
Change-Id: Ida055958ea3988b19a1b6de03ab20871911457ed
src/power.c
patch
|
blob
|
history
diff --git
a/src/power.c
b/src/power.c
index
34e3731
..
1502a99
100644
(file)
--- a/
src/power.c
+++ b/
src/power.c
@@
-134,6
+134,7
@@
static void notice_lock_expired_done(void *data, GVariant *result, GError *err)
g_variant_get(result, "(si)", &id, &val);
+ elem = NULL;
len = strlen(id) + 1;
for (l = request_id_list, l_next = g_list_next(l);
l && (elem = l->data) != NULL;
@@
-176,7
+177,7
@@
static int notice_power_lock_expired(void)
req_id = get_new_request_id(pid);
if (!req_id) {
_E("Failed to get request id");
- return
ret
;
+ return
-ENOMEM
;
}
param[0] = req_id;