[net-config] Add reference to gdbus connection 20/57320/1
authorSaurav Babu <saurav.babu@samsung.com>
Tue, 19 Jan 2016 04:14:26 +0000 (09:44 +0530)
committerSaurav Babu <saurav.babu@samsung.com>
Tue, 19 Jan 2016 04:14:26 +0000 (09:44 +0530)
commit7accf0e6a383ee0c1f637d9ed3b87487c70429b5
tree0344c4c0e144023b2b39db5a03ab9c2a76adb0e2
parent1271e68456599cf93009ad539ddfada9e66c6b10
[net-config] Add reference to gdbus connection

When notify_func of g_dbus_connection_call() is called then gdbus
connection is unref'd. This patch adds a reference to gdbus connection
when notify_func of g_dbus_connection_call() is not NULL.

Change-Id: I1acd3db727ace790bde3a6e438bbc102541da2c7
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
src/dbus/netdbus.c