Commit dac651d1 authored by Corentin Noël's avatar Corentin Noël

Provide autocleanups functions

parent 965b1fa3
Pipeline #48058786 passed with stages
in 17 minutes and 20 seconds
......@@ -87,6 +87,8 @@ void signon_identity_info_add_access_control (SignonIdentityInfo *info,
void signon_identity_info_set_identity_type (SignonIdentityInfo *info,
SignonIdentityType type);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SignonIdentityInfo, signon_identity_info_free);
G_END_DECLS
#endif /* _SIGNON_IDENTITY_INFO_H_ */
......@@ -50,6 +50,8 @@ const gchar *signon_security_context_get_system_context (const SignonSecurityCon
void signon_security_context_set_application_context (SignonSecurityContext *ctx, const gchar *application_context);
void signon_security_context_set_system_context (SignonSecurityContext *ctx, const gchar *system_context);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SignonSecurityContext, signon_security_context_free);
G_END_DECLS
#endif /* _SIGNON_SECURITY_CONTEXT_H_ */
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