[Commits] [SCM] claws branch, master, updated. 4.2.0-112-g2dff9610a

mones at claws-mail.org mones at claws-mail.org
Sun Jun 9 09:11:16 UTC 2024


The branch, master has been updated
       via  2dff9610ae15d24b734205e37578d2350368207a (commit)
      from  0a7dc16bb5fb197adf58032a5899a4021c48dea0 (commit)

Summary of changes:
 src/oauth2.c | 1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit 2dff9610ae15d24b734205e37578d2350368207a
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun Jun 9 11:09:55 2024 +0200

    Fix CID 1591832: Resource leak

diff --git a/src/oauth2.c b/src/oauth2.c
index 681543bca..eccdd49d8 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -248,6 +248,7 @@ static gchar *oauth2_contact_server(SockInfo *sock, const gchar *request)
 
 	if (sock_write(sock, request, strlen(request)) < 0) {
 		log_message(LOG_PROTOCOL, _("OAuth2 socket write error\n"));
+		g_string_free(response, TRUE);
 		return NULL;
 	}
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list