From cfa4879dbd6528e2a1c40517d59ec6a48e4afa16 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 31 Oct 2018 10:03:02 -0600 Subject: [PATCH] Fix memory leak in runaslist_matches(). --- plugins/sudoers/match.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/sudoers/match.c b/plugins/sudoers/match.c index 7faae7399..7c8e9d8e6 100644 --- a/plugins/sudoers/match.c +++ b/plugins/sudoers/match.c @@ -295,6 +295,7 @@ runaslist_matches(struct sudoers_parse_tree *parse_tree, break; } } + sudo_gidlist_delref(runas_groups); } } } -- 2.50.1