mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
dssync keytab: add check for success of ADD_TO_ARRAY().
Michael
This commit is contained in:
parent
79151db6ea
commit
e6f6e61da4
@ -41,6 +41,7 @@ static NTSTATUS add_to_keytab_entries(TALLOC_CTX *mem_ctx,
|
||||
|
||||
ADD_TO_ARRAY(mem_ctx, struct libnet_keytab_entry, entry,
|
||||
&ctx->entries, &ctx->count);
|
||||
NT_STATUS_HAVE_NO_MEMORY(ctx->entries);
|
||||
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user