[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-96-gf979195d9

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


The branch, gtk2 has been updated
       via  f979195d96ffde1667ac51e0bf0e5c665bba0e58 (commit)
      from  bd0990cb896cff59b507b0a8885c138f5bf88573 (commit)

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


- Log -----------------------------------------------------------------
commit f979195d96ffde1667ac51e0bf0e5c665bba0e58
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 1a123577f..9be4d2329 100644
--- a/src/oauth2.c
+++ b/src/oauth2.c
@@ -247,6 +247,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