s3-winbind: Free some memory which isn't needed anymore.
authorAndreas Schneider <asn@samba.org>
Mon, 14 Jun 2010 09:49:32 +0000 (11:49 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 5 Jul 2010 13:59:04 +0000 (15:59 +0200)
source3/winbindd/winbindd_dual_srv.c

index b247d5a233f0325f99f38797d478d90ca36280db..77aa29901730a934c1351a01da1765187893f4a5 100644 (file)
@@ -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;
 }