projects
/
platform
/
core
/
uifw
/
voice-control.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix memory leaks of dbus
[platform/core/uifw/voice-control.git]
/
server
/
vcd_dbus.c
diff --git
a/server/vcd_dbus.c
b/server/vcd_dbus.c
index
8091d79
..
325aaf3
100755
(executable)
--- a/
server/vcd_dbus.c
+++ b/
server/vcd_dbus.c
@@
-1146,7
+1146,9
@@
int vcd_dbus_close_connection()
}
dbus_connection_close(g_conn_listener);
+ dbus_connection_unref(g_conn_listener);
dbus_connection_close(g_conn_sender);
+ dbus_connection_unref(g_conn_sender);
g_conn_listener = NULL;
g_conn_sender = NULL;