summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-06-17 12:31:02 +0000
committerVolker Lendecke <vlendec@samba.org>2003-06-17 12:31:02 +0000
commit1eb644772768dff6252f89aadf2560f556449809 (patch)
tree4b79574b3b4d3d5ccfe89fb629aee682c2d19ece /source3/sam
parent9606397ab1216f995c017957da619a00394b5c7f (diff)
downloadsamba-1eb644772768dff6252f89aadf2560f556449809.tar.gz
samba-1eb644772768dff6252f89aadf2560f556449809.tar.bz2
samba-1eb644772768dff6252f89aadf2560f556449809.zip
And more other memory leaks. One new (idmap) and one ancient (groupdb).
Volker (This used to be commit 2392f460aeb11f32759e84faf1e7ace73c5db281)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/sam/idmap_util.c b/source3/sam/idmap_util.c
index 8c3a378832..012da29300 100644
--- a/source3/sam/idmap_util.c
+++ b/source3/sam/idmap_util.c
@@ -354,6 +354,7 @@ BOOL idmap_init_wellknown_sids(void)
id.gid = map[i].gid;
idmap_set_mapping(&(map[i].sid), id, ID_GROUPID);
}
+ SAFE_FREE(map);
}
/* check if DOMAIN_GROUP_RID_GUESTS SID is set, if not store the