summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDanny Kukawka <danny.kukawka@web.de>2009-01-29 11:31:26 +0100
committerDanny Kukawka <danny.kukawka@web.de>2009-01-29 11:31:26 +0100
commite04a7138ac2de0917e0032dae7bdfc1c2dabc179 (patch)
tree11f366f95392bc0a00be456546c35f8945689775 /tools
parent879f06a4e4abc87471a030a5f285dc32455082e4 (diff)
Fixed commit 33b54318f73012e24220456216794dd3ff39fc93. Don't use LIBHAL_FREE_DBUS_ERROR() if there was already a dbus_error_is_set() check.
Diffstat (limited to 'tools')
-rw-r--r--tools/hal_get_property.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hal_get_property.c b/tools/hal_get_property.c
index d31261a5..29ab4c5c 100644
--- a/tools/hal_get_property.c
+++ b/tools/hal_get_property.c
@@ -177,7 +177,7 @@ main (int argc, char *argv[])
}
if (dbus_error_is_set(&error)) {
fprintf (stderr, "error: libhal_device_exists: %s: %s\n", error.name, error.message);
- LIBHAL_FREE_DBUS_ERROR (&error);
+ dbus_error_free (&error);
return 1;
}