[librest/wip/rishi/autocleanups: 7/7] oauth2-proxy: Add autocleanup
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/rishi/autocleanups: 7/7] oauth2-proxy: Add autocleanup
- Date: Wed, 2 Jun 2021 14:59:48 +0000 (UTC)
commit 1f43a2b7b6c48478a662b441889cdce5a547eb80
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Jun 2 16:59:00 2021 +0200
oauth2-proxy: Add autocleanup
rest/oauth2-proxy.h | 2 ++
1 file changed, 2 insertions(+)
---
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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]