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

r10019: Only return NT_STATUS_NO_MEMORY if the alloc failed..

This commit is contained in:
Jelmer Vernooij 2005-09-04 02:01:42 +00:00 committed by Gerald (Jerry) Carter
parent b349e902c7
commit ea92959209

View File

@ -55,7 +55,11 @@ NTSTATUS tdr_push_expand(struct tdr_push *tdr, uint32_t size)
}
tdr->data.data = talloc_realloc(tdr, tdr->data.data, uint8_t, tdr->data.length + TDR_BASE_MARSHALL_SIZE);
if (tdr->data.data == NULL)
return NT_STATUS_NO_MEMORY;
return NT_STATUS_OK;
}