dbus: introduce _cleanup_dbus_error_free_

This commit is contained in:
Lennart Poettering
2012-11-22 00:45:22 +01:00
parent 68b29a9fca
commit e42e801b55
2 changed files with 4 additions and 5 deletions
+1
View File
@@ -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)))