summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}