diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-11-22 00:40:45 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-11-22 00:45:22 +0100 |
commit | e42e801b55740df1e2007336c8e2cb1e538849e1 (patch) | |
tree | ea2e610f7fe84e1557a7e042601e796a8b3363c3 /src/shared/dbus-common.h | |
parent | 68b29a9fca915c83b9192790ec61189430cd5de6 (diff) |
dbus: introduce _cleanup_dbus_error_free_
Diffstat (limited to 'src/shared/dbus-common.h')
-rw-r--r-- | src/shared/dbus-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/dbus-common.h b/src/shared/dbus-common.h index 3b7ae16934..a9a4dcca6b 100644 --- a/src/shared/dbus-common.h +++ b/src/shared/dbus-common.h @@ -224,3 +224,4 @@ const char *bus_message_get_sender_with_fallback(DBusMessage *m); void bus_message_unrefp(DBusMessage **reply); #define _cleanup_dbus_message_unref_ __attribute__((cleanup(bus_message_unrefp))) +#define _cleanup_dbus_error_free_ __attribute__((cleanup(dbus_error_free))) |