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:
5adcb8c
)
power: initialize local GError
46/269146/1
author
Youngjae Cho
<y0.cho@samsung.com>
Mon, 10 Jan 2022 10:21:47 +0000
(19:21 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Mon, 10 Jan 2022 10:25:30 +0000
(10:25 +0000)
Change-Id: I6b6bbba478be5a923ed2dc44f063cfdce9a871a0
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit
799bbaba0ac6f47237f0c4089d730d34c9c08b5d
)
src/power-internal.c
patch
|
blob
|
history
diff --git
a/src/power-internal.c
b/src/power-internal.c
index 45d22d6a490af1da086f9594e52f5fd88c19637b..04a6d2786ccc12e80aabaf6bcf7fe43f681c4853 100644
(file)
--- a/
src/power-internal.c
+++ b/
src/power-internal.c
@@
-127,7
+127,7
@@
int device_power_change_state_wait_done(uint64_t id)
{
GDBusConnection *connection;
GVariant *retgv;
- GError *err;
+ GError *err
= NULL
;
int ret;
connection = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &err);