From 2f1f474e2781d8eac5e108a4a15ebedd7e8b1fb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavol=20=C5=BD=C3=A1=C4=8Dik?= Date: Fri, 13 Feb 2026 10:16:21 +0100 Subject: [PATCH] gssapi: Free both_supported on a new error path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavol Žáčik Reviewed-by: Jakub Jelen --- src/gssapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gssapi.c b/src/gssapi.c index cf42bbec..dc9ed2b5 100644 --- a/src/gssapi.c +++ b/src/gssapi.c @@ -243,6 +243,7 @@ ssh_gssapi_handle_userauth(ssh_session session, const char *user, /* Get the server supported oids */ rc = ssh_gssapi_server_oids(&supported); if (rc != SSH_OK) { + gss_release_oid_set(&min_stat, &both_supported); return SSH_ERROR; }