mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r16766: A warning found by RHEL3. This might actually be 3.0.23 code, maybe there are
vasprintf implementations that don't like a NULL format. Volker
This commit is contained in:
parent
6fa928f96a
commit
03c665c307
@ -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() );
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user