mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
r25630: Allow "NULL" as memory context, for consistency with the rest of the code,
which also does. (This used to be commit 083b606496308741958bb9fc6b3e50a582857677)
This commit is contained in:
parent
a449b30ca4
commit
957af15e4b
@ -75,7 +75,7 @@ struct ldb_dn *ldb_dn_new(void *mem_ctx, struct ldb_context *ldb, const char *st
|
||||
{
|
||||
struct ldb_dn *dn;
|
||||
|
||||
if ( (! mem_ctx) || (! ldb)) return NULL;
|
||||
if (! ldb) return NULL;
|
||||
|
||||
dn = talloc_zero(mem_ctx, struct ldb_dn);
|
||||
LDB_DN_NULL_FAILED(dn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user