1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00

r4058: added a type safe version of smb_xmalloc()

This commit is contained in:
Andrew Tridgell
2004-12-04 09:30:38 +00:00
committed by Gerald (Jerry) Carter
parent 18e01ae254
commit 1235afa5fe
6 changed files with 16 additions and 12 deletions

View File

@@ -70,7 +70,7 @@ static NTSTATUS echo_TestCall(struct dcesrv_call_state *dce_call, TALLOC_CTX *me
static NTSTATUS echo_TestCall2(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct echo_TestCall2 *r)
{
r->out.info = talloc(mem_ctx, sizeof(*r->out.info));
r->out.info = talloc_p(mem_ctx, union echo_Info);
if (!r->out.info) {
return NT_STATUS_NO_MEMORY;
}