summaryrefslogtreecommitdiff
path: root/source3/libgpo
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-02-04 20:57:35 +0100
committerVolker Lendecke <vl@samba.org>2008-02-04 20:57:49 +0100
commit2762b9a97582b9b28fd5985ba8e3d0299126820e (patch)
treebcaa02c53a19e332ac20c41377e4951caed8d4a9 /source3/libgpo
parent3955801298bbcf69afe01c212d5e8ac9812a5dcf (diff)
downloadsamba-2762b9a97582b9b28fd5985ba8e3d0299126820e.tar.gz
samba-2762b9a97582b9b28fd5985ba8e3d0299126820e.tar.bz2
samba-2762b9a97582b9b28fd5985ba8e3d0299126820e.zip
Always pass a TALLOC_CTX to str_list_make and str_list_copy
(This used to be commit e2c9fc4cf5f0ff725330fa44f53782db65fca37e)
Diffstat (limited to 'source3/libgpo')
-rw-r--r--source3/libgpo/gpo_ldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libgpo/gpo_ldap.c b/source3/libgpo/gpo_ldap.c
index 4e63b92e4e..1d6b275663 100644
--- a/source3/libgpo/gpo_ldap.c
+++ b/source3/libgpo/gpo_ldap.c
@@ -44,7 +44,7 @@ bool ads_parse_gp_ext(TALLOC_CTX *mem_ctx,
goto parse_error;
}
- ext_list = str_list_make_talloc(mem_ctx, extension_raw, "]");
+ ext_list = str_list_make(mem_ctx, extension_raw, "]");
if (!ext_list) {
goto parse_error;
}
@@ -87,7 +87,7 @@ bool ads_parse_gp_ext(TALLOC_CTX *mem_ctx,
p++;
}
- ext_strings = str_list_make_talloc(mem_ctx, p, "}");
+ ext_strings = str_list_make(mem_ctx, p, "}");
if (ext_strings == NULL) {
goto parse_error;
}
@@ -166,7 +166,7 @@ static ADS_STATUS gpo_parse_gplink(TALLOC_CTX *mem_ctx,
DEBUG(10,("gpo_parse_gplink: gPLink: %s\n", gp_link_raw));
- link_list = str_list_make_talloc(mem_ctx, gp_link_raw, "]");
+ link_list = str_list_make(mem_ctx, gp_link_raw, "]");
if (!link_list) {
goto parse_error;
}