aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-20 15:24:03 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-20 15:24:03 +0200
commit703bc777d4d74bf9de66a4a81f4a743ecf75926a (patch)
treec2083e156e02aa645ec220853d9c09992c68dcf4
parent023a929e2fd4679b9a34d85762aecfd3fe40a098 (diff)
downloadconnman-gnome-703bc777d4d74bf9de66a4a81f4a743ecf75926a.tar.gz
Don't unref the proxy in case of a failure
-rw-r--r--common/test-config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/test-config.c b/common/test-config.c
index 494a890..b8f6786 100644
--- a/common/test-config.c
+++ b/common/test-config.c
@@ -134,7 +134,6 @@ static void get_properties(DBusGProxy *proxy)
properties_callback, NULL, NULL,
120 * 1000, G_TYPE_INVALID) == FALSE) {
g_printerr("Method call for retrieving properties failed\n");
- g_object_unref(proxy);
return;
}
}