summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/connection.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/network/connection.c b/network/connection.c
index 27aa2546..a8dd5689 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -453,6 +453,10 @@ static DBusMessage *connection_get_properties(DBusConnection *conn,
const char *property;
GSList *l;
+ reply = dbus_message_new_method_return(msg);
+ if (!reply)
+ return NULL;
+
dbus_message_iter_init_append(reply, &iter);
dbus_message_iter_open_container(&iter, DBUS_TYPE_ARRAY,