summaryrefslogtreecommitdiff
path: root/source3/groupdb
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/groupdb
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/groupdb')
-rw-r--r--source3/groupdb/mapping.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index 2b7a852688..5b5d0b0cc3 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -199,6 +199,10 @@ static BOOL default_group_mapping(void)
sid_to_string(str_guests, &sid_guests);
add_initial_entry(-1, str_guests, SID_NAME_DOM_GRP, "Domain Guests", "", privilege_none, PR_ACCESS_FROM_NETWORK);
+ free_privilege(&privilege_none);
+ free_privilege(&privilege_all);
+ free_privilege(&privilege_print_op);
+
return True;
}