dbus: introduce _cleanup_dbus_error_free_
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user