summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-06-04 01:51:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:06 -0500
commit248a82c0f28a5e1df957726558b795cf98d29097 (patch)
treedc9fce8fdce6f3c459475d8f370624c1b9e360e0 /source3/utils
parentc48b95d4973432a7689b2133db64c02879f253c4 (diff)
downloadsamba-248a82c0f28a5e1df957726558b795cf98d29097.tar.gz
samba-248a82c0f28a5e1df957726558b795cf98d29097.tar.bz2
samba-248a82c0f28a5e1df957726558b795cf98d29097.zip
r23323: merged ldb changes from 3.0.26
(This used to be commit 7c9a5c2a3f012a06e9550dc0de7df460c2fd943b)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_groupmap.c2
-rw-r--r--source3/utils/net_sam.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index ad1a141cfc..bb30a31c0b 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -725,7 +725,7 @@ static int net_groupmap_listmem(int argc, const char **argv)
printf("%s\n", sid_string_static(&(members[i])));
}
- SAFE_FREE(members);
+ TALLOC_FREE(members);
return 0;
}
diff --git a/source3/utils/net_sam.c b/source3/utils/net_sam.c
index dd979bdc6e..851c3e86de 100644
--- a/source3/utils/net_sam.c
+++ b/source3/utils/net_sam.c
@@ -958,6 +958,8 @@ static int net_sam_listmem(int argc, const char **argv)
sid_string_static(&members[i]));
}
}
+
+ TALLOC_FREE(members);
} else {
d_fprintf(stderr, "Can only list local group members so far.\n"
"%s is a %s\n", argv[0], sid_type_lookup(grouptype));