summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@gnome.org>2021-06-02 16:59:00 +0200
committerDebarshi Ray <debarshir@gnome.org>2021-06-02 17:02:48 +0200
commit26574552a8af51b8ad5fb3cc463b82ebcb7efe29 (patch)
tree7155b39ff2c66146a4552b2c9098706cb7f603c6
parentcb7ba50ec6829a7a49e092beec01af60d3c901d4 (diff)
downloadlibrest-wip/rishi/autocleanups.tar.gz
oauth2-proxy: Add autocleanupwip/rishi/autocleanups
https://gitlab.gnome.org/GNOME/librest/-/merge_requests/5
-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 */