diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-22 16:02:36 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-22 16:02:36 +0000 |
commit | b95b82b798704d75403c4cf06ce6a10a6161b501 (patch) | |
tree | 500813446914d42c61bbb36e4f1cd013eed4932f /source3/sam | |
parent | 7f23546730e49569d41a5edd0c47bb559c4f812d (diff) | |
download | samba-b95b82b798704d75403c4cf06ce6a10a6161b501.tar.gz samba-b95b82b798704d75403c4cf06ce6a10a6161b501.tar.bz2 samba-b95b82b798704d75403c4cf06ce6a10a6161b501.zip |
talloc_init_named -> talloc_init.
Jeremy.
(This used to be commit 20a44d4cf11d91e7a09176bfe673ad0cb230dffe)
Diffstat (limited to 'source3/sam')
-rw-r--r-- | source3/sam/account.c | 2 | ||||
-rw-r--r-- | source3/sam/group.c | 2 | ||||
-rw-r--r-- | source3/sam/gums_api.c | 2 | ||||
-rw-r--r-- | source3/sam/gums_helper.c | 4 | ||||
-rw-r--r-- | source3/sam/interface.c | 2 | ||||
-rwxr-xr-x | source3/sam/sam_ads.c | 8 |
6 files changed, 10 insertions, 10 deletions
diff --git a/source3/sam/account.c b/source3/sam/account.c index 1b43db57d9..b8336146cd 100644 --- a/source3/sam/account.c +++ b/source3/sam/account.c @@ -103,7 +103,7 @@ NTSTATUS sam_init_account(SAM_ACCOUNT_HANDLE **account) TALLOC_CTX *mem_ctx; NTSTATUS nt_status; - mem_ctx = talloc_init_named("sam internal SAM_ACCOUNT_HANDLE allocation"); + mem_ctx = talloc_init("sam internal SAM_ACCOUNT_HANDLE allocation"); if (!mem_ctx) { DEBUG(0,("sam_init_account: error while doing talloc_init()\n")); diff --git a/source3/sam/group.c b/source3/sam/group.c index 7e4bcc1425..101e3dd7ce 100644 --- a/source3/sam/group.c +++ b/source3/sam/group.c @@ -83,7 +83,7 @@ NTSTATUS sam_init_group(SAM_GROUP_HANDLE **group) TALLOC_CTX *mem_ctx; NTSTATUS nt_status; - mem_ctx = talloc_init_named("sam internal SAM_GROUP_HANDLE allocation"); + mem_ctx = talloc_init("sam internal SAM_GROUP_HANDLE allocation"); if (!mem_ctx) { DEBUG(0,("sam_init_group: error while doing talloc_init()\n")); diff --git a/source3/sam/gums_api.c b/source3/sam/gums_api.c index 1d67467b2b..0061988eea 100644 --- a/source3/sam/gums_api.c +++ b/source3/sam/gums_api.c @@ -795,7 +795,7 @@ NTSTATUS gums_create_commit_set(GUMS_COMMIT_SET **com_set, TALLOC_CTX *ctx, DOM_ TALLOC_CTX *mem_ctx; GUMS_COMMIT_SET *set; - mem_ctx = talloc_init_named("commit_set"); + mem_ctx = talloc_init("commit_set"); if (mem_ctx == NULL) return NT_STATUS_NO_MEMORY; set = (GUMS_COMMIT_SET *)talloc(mem_ctx, sizeof(GUMS_COMMIT_SET)); diff --git a/source3/sam/gums_helper.c b/source3/sam/gums_helper.c index d581d6574e..8526a2f1cc 100644 --- a/source3/sam/gums_helper.c +++ b/source3/sam/gums_helper.c @@ -372,7 +372,7 @@ NTSTATUS gums_init_builtin_groups(void) g_obj.type = GUMS_OBJ_GROUP; g_obj.version = 1; g_obj.seq_num = 0; - g_obj.mem_ctx = talloc_init_named("gums_init_backend_acct"); + g_obj.mem_ctx = talloc_init("gums_init_backend_acct"); if (g_obj.mem_ctx == NULL) { DEBUG(0, ("gums_init_backend: Out of Memory!\n")); return NT_STATUS_NO_MEMORY; @@ -591,7 +591,7 @@ NTSTATUS gums_init_builtin_groups(void) g_priv.type = GUMS_OBJ_GROUP; g_priv.version = 1; g_priv.seq_num = 0; - g_priv.mem_ctx = talloc_init_named("gums_init_backend_priv"); + g_priv.mem_ctx = talloc_init("gums_init_backend_priv"); if (g_priv.mem_ctx == NULL) { DEBUG(0, ("gums_init_backend: Out of Memory!\n")); return NT_STATUS_NO_MEMORY; diff --git a/source3/sam/interface.c b/source3/sam/interface.c index d08df42122..51ae561999 100644 --- a/source3/sam/interface.c +++ b/source3/sam/interface.c @@ -384,7 +384,7 @@ NTSTATUS make_sam_context(SAM_CONTEXT **context) { TALLOC_CTX *mem_ctx; - mem_ctx = talloc_init_named("sam_context internal allocation context"); + mem_ctx = talloc_init("sam_context internal allocation context"); if (!mem_ctx) { DEBUG(0, ("make_sam_context: talloc init failed!\n")); diff --git a/source3/sam/sam_ads.c b/source3/sam/sam_ads.c index d2bfab53b9..13e0369004 100755 --- a/source3/sam/sam_ads.c +++ b/source3/sam/sam_ads.c @@ -584,8 +584,8 @@ static NTSTATUS sam_ads_get_sec_desc(const SAM_METHODS *sam_method, const NT_USE return ads_ntstatus(ads_status); } - if (!(mem_ctx = talloc_init_named("sec_desc parse in sam_ads"))) { - DEBUG(1, ("talloc_init_named() failed for sec_desc parse context in sam_ads")); + if (!(mem_ctx = talloc_init("sec_desc parse in sam_ads"))) { + DEBUG(1, ("talloc_init() failed for sec_desc parse context in sam_ads")); ads_msgfree(ads_struct, sec_desc_res); return NT_STATUS_NO_MEMORY; } @@ -1323,8 +1323,8 @@ NTSTATUS sam_init_ads(SAM_METHODS *sam_method, const char *module_params) return NT_STATUS_NO_MEMORY; } - if (!(sam_ads_state->mem_ctx = talloc_init_named("sam_ads_method"))) { - DEBUG(0, ("talloc_init_named() failed for sam_ads_state->mem_ctx\n")); + if (!(sam_ads_state->mem_ctx = talloc_init("sam_ads_method"))) { + DEBUG(0, ("talloc_init() failed for sam_ads_state->mem_ctx\n")); return NT_STATUS_NO_MEMORY; } |