talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 2dff9610ae15d24b734205e37578d2350368207a
parent 0a7dc16bb5fb197adf58032a5899a4021c48dea0
Author: Ricardo Mones <ricardo@mones.org>
Date:   Sun,  9 Jun 2024 11:09:55 +0200

Fix CID 1591832: Resource leak

Diffstat:
Msrc/oauth2.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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; }