hal/libhal libhal.c,1.47,1.48

David Zeuthen david at freedesktop.org
Wed Apr 27 11:53:41 PDT 2005


Update of /cvs/hal/hal/libhal
In directory gabe:/tmp/cvs-serv10203/libhal

Modified Files:
	libhal.c 
Log Message:
2005-04-27  David Zeuthen  <davidz at redhat.com>

	* hald/linux2/osspec_linux.h: Remove prototype for the function
	hal_util_get_device_file().

	* hald/linux2/osspec.c (hal_util_get_udevinfo_path): Remove 
	(hal_util_get_device_file): Remove 

	* hald/linux2/coldplug.c (hal_util_get_udevinfo_path): 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.

	* configure.in: Bump dbus requirement to 0.33 since the new dbus is
	out.

2005-04-27  David Zeuthen  <davidz at redhat.com>

	* libhal/libhal.c (libhal_device_set_property_helper): Don't leak the
	DBusMessage objects

	* hald/hald_dbus.c (sender_has_privileges): Don't leak the error and
	actually return FALSE if sender is unprivileged. Also fix up spelling.



Index: libhal.c
===================================================================
RCS file: /cvs/hal/hal/libhal/libhal.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- libhal.c	8 Apr 2005 18:10:20 -0000	1.47
+++ libhal.c	27 Apr 2005 18:53:39 -0000	1.48
@@ -1499,6 +1499,9 @@
 		return FALSE;
 	}
 
+	dbus_message_unref (message);
+	dbus_message_unref (reply);
+
 	return TRUE;
 }
 




More information about the hal-commit mailing list