git.samba.org
/
uid_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27e9f76
)
uwrap: Do not leak groups_str
author
Andreas Schneider
<asn@samba.org>
Fri, 14 Jul 2017 07:07:19 +0000
(09:07 +0200)
committer
Andreas Schneider
<asn@samba.org>
Fri, 14 Jul 2017 13:19:55 +0000
(15:19 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
src/uid_wrapper.c
patch
|
blob
|
history
diff --git
a/src/uid_wrapper.c
b/src/uid_wrapper.c
index 6e39eb67b27b598d1afb44433bb3b0ec6c7adb6b..0388ad930527d3eb1d43b734f068bce8206cbde6 100644
(file)
--- 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) {