summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-14 11:49:32 +0200
committerAndreas Schneider <asn@samba.org>2010-07-05 15:59:04 +0200
commit7d013f4065caad4caf742adc37b0b7622419de1a (patch)
tree4587d9fdb794f1d24d1823be0e6dc47829877011 /source3
parentb37db757b6d552a9b3dea7428a811e403a2c6bbd (diff)
downloadsamba-7d013f4065caad4caf742adc37b0b7622419de1a.tar.gz
samba-7d013f4065caad4caf742adc37b0b7622419de1a.tar.bz2
samba-7d013f4065caad4caf742adc37b0b7622419de1a.zip
s3-winbind: Free some memory which isn't needed anymore.
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_dual_srv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c
index b247d5a233..77aa299017 100644
--- a/source3/winbindd/winbindd_dual_srv.c
+++ b/source3/winbindd/winbindd_dual_srv.c
@@ -274,6 +274,8 @@ NTSTATUS _wbint_QueryGroupList(pipes_struct *p, struct wbint_QueryGroupList *r)
r->out.groups->num_principals = num_groups;
r->out.groups->principals = result;
+
+ TALLOC_FREE(groups);
return NT_STATUS_OK;
}