summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rest/oauth2-proxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rest/oauth2-proxy.h b/rest/oauth2-proxy.h
index 0473c62..7974c98 100644
--- a/rest/oauth2-proxy.h
+++ b/rest/oauth2-proxy.h
@@ -90,6 +90,8 @@ void oauth2_proxy_set_access_token (OAuth2Proxy *proxy, const char *access_token
char * oauth2_proxy_extract_access_token (const char *url);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (OAuth2Proxy, g_object_unref)
+
G_END_DECLS
#endif /* _OAUTH2_PROXY */