summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_util.c2
-rw-r--r--source3/param/loadparm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index df4a4e1b38..c5ce55bc8c 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -778,7 +778,7 @@ static NTSTATUS create_builtin_administrators( void )
}
/* add root */
- if ( (ctx = talloc_init(NULL)) == NULL ) {
+ if ( (ctx = talloc_init("create_builtin_administrators")) == NULL ) {
return NT_STATUS_NO_MEMORY;
}
fstr_sprintf( root_name, "%s\\root", get_global_sam_name() );
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a3a41c7664..b6c027f871 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1670,7 +1670,7 @@ void lp_TALLOC_FREE(void)
TALLOC_CTX *tmp_talloc_ctx(void)
{
if (lp_talloc == NULL) {
- lp_talloc = talloc_init(NULL);
+ lp_talloc = talloc_init("tmp_talloc_ctx");
}
if (lp_talloc == NULL) {