mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
spa: bluez: use spa_auto for DBusError
This commit is contained in:
parent
b52d590936
commit
ca85872e83
8 changed files with 44 additions and 124 deletions
|
|
@ -65,4 +65,8 @@ static inline DBusPendingCall *send_with_reply(DBusConnection *conn,
|
|||
return pending_call;
|
||||
}
|
||||
|
||||
SPA_DEFINE_AUTO_CLEANUP(DBusError, DBusError, {
|
||||
dbus_error_free(thing);
|
||||
})
|
||||
|
||||
#endif /* SPA_BLUEZ5_DBUS_HELPERS_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue