1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

dssync keytab: add check for success of ADD_TO_ARRAY().

Michael
This commit is contained in:
Michael Adam 2008-07-16 23:10:20 +02:00
parent 79151db6ea
commit e6f6e61da4

View File

@ -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;
}