git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f41bd
)
Fixed memory leak in winbindd_getgrent()
author
Tim Potter
<tpot@samba.org>
Thu, 28 Sep 2000 04:50:16 +0000
(
04:50
+0000)
committer
Tim Potter
<tpot@samba.org>
Thu, 28 Sep 2000 04:50:16 +0000
(
04:50
+0000)
source/nsswitch/winbindd_group.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_group.c
b/source/nsswitch/winbindd_group.c
index a4d7b439359a513639f6b8d5c54b8a41bfa00b36..b69c2f6426ee2c405582785277ba8ed55d7ffe7e 100644
(file)
--- a/
source/nsswitch/winbindd_group.c
+++ b/
source/nsswitch/winbindd_group.c
@@
-703,6
+703,8
@@
enum winbindd_result winbindd_getgrent(struct winbindd_cli_state *state)
[group_list_ndx * sizeof(struct winbindd_gr)],
gr_mem_list, gr_mem_list_len);
+ safe_free(gr_mem_list);
+
state->response.length += gr_mem_list_len;
/* Out of domains */