projects
/
platform
/
core
/
appfw
/
shortcut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9838bb
)
Fix memory leak
27/246527/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Fri, 30 Oct 2020 13:56:23 +0000
(22:56 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Fri, 30 Oct 2020 13:56:47 +0000
(22:56 +0900)
Change-Id: Ia257ae739a5f69daeecce861d9cac2d8a5d04cdf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
lib/src/shortcut_internal.c
patch
|
blob
|
history
diff --git
a/lib/src/shortcut_internal.c
b/lib/src/shortcut_internal.c
index
ecb2328
..
077293c
100644
(file)
--- a/
lib/src/shortcut_internal.c
+++ b/
lib/src/shortcut_internal.c
@@
-338,6
+338,8
@@
int _send_service_register(void)
int result;
result = _send_sync_shortcut(g_variant_new("(i)", getuid()), &reply, "shortcut_service_register");
+ if (reply)
+ g_object_unref(reply);
SHORTCUT_DBG("_send_service_register done");
return result;
}