diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-10-03 08:29:51 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-10-03 08:29:51 +0200 |
commit | d68a57d8bee6643b230b752b4588f66d89e51524 (patch) | |
tree | 52c741460b82519f6da23bb3bb03a72ee5c31a0b /network | |
parent | 3e1f6086e02d53dbce83d306b783adeebf3bc9ed (diff) |
Fix uninitialized reply of multiple GetProperties methods
Diffstat (limited to 'network')
-rw-r--r-- | network/connection.c | 4 |
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, |