This needs to avoid trying to add the NULL entry into the D-Bus
message since libdbus will make the program terminate in such a case.
getterReply = property_dsc->getter(
message, obj_dsc->user_data);
+ if (getterReply == NULL)
+ goto skip;
dbus_message_iter_init(getterReply, &ret_iter);
dbus_message_iter_open_container(&dict_iter,
dbus_message_iter_close_container(&dict_iter,
&entry_iter);
dbus_message_unref(getterReply);
+ skip:
counter++;
}
property_dsc = property_dsc->next;