[PATCH] fix usage of dbus_error_is_set in libhal

Danny Kukawka danny.kukawka at web.de
Mon Nov 6 15:18:53 PST 2006


Hi,

this patch fixes the usage of dbus_error_is_set(error) if the error is NULL. 
Added check to be sure the lib don't call dbus_error_is_set() if the error is 
NULL, otherwise the call crash.

Cheers,

Danny

 libhal.c | 40 ++++++++++++++++++++--------------------
 1 file changed, 20 insertions(+), 20 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-fix-dbus_error_is_set.diff
Type: text/x-diff
Size: 6002 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20061107/adac8fb9/hal-fix-dbus_error_is_set.bin


More information about the hal mailing list