summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaurav Babu <saurav.babu@samsung.com>2018-06-05 16:20:56 +0530
committerSaurav Babu <saurav.babu@samsung.com>2018-06-11 11:29:18 +0000
commit5d8faee65c1789cd7d21d806f258606a696a6be2 (patch)
tree04ae6dd610bdaabf6b090a32967a39c2b2647a51
parent1ccc890efb354343041512b2e25d673c1d00e235 (diff)
downloadconnman-5d8faee65c1789cd7d21d806f258606a696a6be2.tar.gz
connman-5d8faee65c1789cd7d21d806f258606a696a6be2.tar.bz2
connman-5d8faee65c1789cd7d21d806f258606a696a6be2.zip
Upstream: gdbus: Fixed incorrect DBusConnection reference countingsubmit/tizen/20180612.012523accepted/tizen/unified/20180612.044159
Commit ID: c42a5f926fe2109e7a1dcc58fe6713bc3f5fd21d Change-Id: I26ebd6150b183da7f1bf7102db8935c3bde6574e Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
-rwxr-xr-xgdbus/mainloop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdbus/mainloop.c b/gdbus/mainloop.c
index edb384ef..b90a8447 100755
--- a/gdbus/mainloop.c
+++ b/gdbus/mainloop.c
@@ -30,8 +30,6 @@
#include "gdbus.h"
-#define DISPATCH_TIMEOUT 0
-
#define info(fmt...)
#define error(fmt...)
#define debug(fmt...)
@@ -70,8 +68,6 @@ static gboolean message_dispatch(void *data)
{
DBusConnection *conn = data;
- dbus_connection_ref(conn);
-
/* Dispatch messages */
while (dbus_connection_dispatch(conn) == DBUS_DISPATCH_DATA_REMAINS);