diff options
author | Andreas Schneider <asn@samba.org> | 2017-07-14 09:07:19 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2017-07-14 10:28:18 +0200 |
commit | fdb6349234d28c5159c723385ae696a73164052a (patch) | |
tree | f6aa71823cd8e351d128686d7beaa20d44ef62e3 | |
parent | 27e9f76f1ddc72987f0323f19341b2b6afefa5cd (diff) | |
download | uid_wrapper-fdb6349234d28c5159c723385ae696a73164052a.tar.gz uid_wrapper-fdb6349234d28c5159c723385ae696a73164052a.tar.xz uid_wrapper-fdb6349234d28c5159c723385ae696a73164052a.zip |
uwrap: Do not leak groups_str
Signed-off-by: Andreas Schneider <asn@samba.org>
-rw-r--r-- | src/uid_wrapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uid_wrapper.c b/src/uid_wrapper.c index 6e39eb6..0388ad9 100644 --- a/src/uid_wrapper.c +++ b/src/uid_wrapper.c @@ -1034,6 +1034,7 @@ static void uwrap_init_env(struct uwrap_thread *id) p = strtok_r(NULL, ",", &saveptr); } + SAFE_FREE(groups_str); } if (i != ngroups) { |