mirror of
https://github.com/samba-team/samba.git
synced 2025-11-25 00:23:52 +03:00
This function is a duplicate.
This commit is contained in:
@@ -569,24 +569,6 @@ SEC_DESC_BUF *sec_desc_merge(TALLOC_CTX *ctx, SEC_DESC_BUF *new_sdb, SEC_DESC_BU
|
||||
return(return_sdb);
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
Tallocs a duplicate SID.
|
||||
********************************************************************/
|
||||
|
||||
static DOM_SID *sid_dup_talloc(TALLOC_CTX *ctx, DOM_SID *src)
|
||||
{
|
||||
DOM_SID *dst;
|
||||
|
||||
if(!src)
|
||||
return NULL;
|
||||
|
||||
if((dst = talloc_zero(ctx, sizeof(DOM_SID))) != NULL) {
|
||||
sid_copy( dst, src);
|
||||
}
|
||||
|
||||
return dst;
|
||||
}
|
||||
|
||||
/*******************************************************************
|
||||
Creates a SEC_DESC structure
|
||||
********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user