summaryrefslogtreecommitdiff
path: root/libhal
diff options
context:
space:
mode:
authorDavid Zeuthen <david@fubar.dk>2005-04-27 18:53:39 +0000
committerDavid Zeuthen <david@fubar.dk>2005-04-27 18:53:39 +0000
commit74db51271c37f2ba4ce4069dad3593747c65edaa (patch)
tree23ce3373285a8916903c4d49cb920ab237a6057c /libhal
parent0a381f48681c4b2772d7aee18eb91b4fa00e1c67 (diff)
Remove prototype for the function hal_util_get_device_file().
Remove (hal_util_get_device_file): Remove Move from osspec.c (hal_util_get_sysfs_to_dev_map): New function (coldplug_synthesize_events): Get the sysfs->dev map in one go using 'udevinfo -d' available in udev since at least version 057. Bump dbus requirement to 0.33 since the new dbus is out. Don't leak the DBusMessage objects Don't leak the error and actually return FALSE if sender is unprivileged. Also fix up spelling.
Diffstat (limited to 'libhal')
-rw-r--r--libhal/libhal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhal/libhal.c b/libhal/libhal.c
index 669e02e6..e3707829 100644
--- a/libhal/libhal.c
+++ b/libhal/libhal.c
@@ -1499,6 +1499,9 @@ libhal_device_set_property_helper (LibHalContext *ctx,
return FALSE;
}
+ dbus_message_unref (message);
+ dbus_message_unref (reply);
+
return TRUE;
}