projects
/
platform
/
core
/
system
/
pass.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2712f47
)
util: gdbus-util: Fix memory leak issue
04/270704/2
author
Chanwoo Choi
<cw00.choi@samsung.com>
Tue, 8 Feb 2022 03:08:46 +0000
(12:08 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Tue, 8 Feb 2022 05:36:13 +0000
(
05:36
+0000)
Change-Id: I3df1d2edbeec17f14cf87ee55065922e0362ba5f
Reported-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Suggested-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/util/gdbus-util.c
patch
|
blob
|
history
diff --git
a/src/util/gdbus-util.c
b/src/util/gdbus-util.c
index
53d6da9
..
b4fcafe
100644
(file)
--- a/
src/util/gdbus-util.c
+++ b/
src/util/gdbus-util.c
@@
-157,6
+157,7
@@
int pass_gdbus_send_broadcast_signal(passdbus idx, char *path,
G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, &err);
if (!ret) {
_E("failed to broadcast [%s]", method);
+ g_error_free(err);
g_object_unref(message);
return -ECOMM;
}