Files
for-gentoo/sys-apps/hal/files/hal-0.5.8.1-check-for-error.patch
T
lxnay 237538301f another brick in the hal wall
git-svn-id: http://svn.sabayonlinux.org/overlay@402 d7aec97c-591d-0410-af39-a8856400b30a
2006-12-07 19:24:41 +00:00

12 lines
458 B
Diff

--- hal-0.5.8.1/libhal/libhal.c.orig 2006-09-27 20:35:03.000000000 +0200
+++ hal-0.5.8.1/libhal/libhal.c 2006-09-27 20:35:35.000000000 +0200
@@ -1457,7 +1457,7 @@ libhal_device_set_property_helper (LibHa
reply = dbus_connection_send_with_reply_and_block (ctx->connection,
message, -1,
error);
- if (dbus_error_is_set (error)) {
+ if (error != NULL && dbus_error_is_set (error)) {
dbus_message_unref (message);
return FALSE;
}