From d26a60310e5d3b586bd05bdf98809a7af26697ba Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Tue, 3 Jan 2023 20:46:47 -0600 Subject: [PATCH] hdb: Fix leak in virtual namespaced principals support --- lib/hdb/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/hdb/common.c b/lib/hdb/common.c index 56e582aba..1c947b3cf 100644 --- a/lib/hdb/common.c +++ b/lib/hdb/common.c @@ -1586,6 +1586,7 @@ fix_princ_name(krb5_context context, s, NULL); } + free(s); return ret; }