Commit 948ce614 authored by Simon McVittie's avatar Simon McVittie

DBusCredentials: Add _dbus_clear_credentials()

Not to be confused with _dbus_credentials_clear(), which does something
different (this is a little unfortunate, but the fact that they take
different types should clarify which is which).
Signed-off-by: Simon McVittie's avatarSimon McVittie <>
Reviewed-by: Philip Withnall's avatarPhilip Withnall <>
parent 2812966f
......@@ -105,6 +105,13 @@ DBUS_PRIVATE_EXPORT
dbus_bool_t _dbus_credentials_to_string_append (DBusCredentials *credentials,
DBusString *string);
static inline void
_dbus_clear_credentials (DBusCredentials **pointer_to_creds)
_dbus_clear_pointer_impl (DBusCredentials, pointer_to_creds,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment