ndr_heap_malloc
void *ndr_heap_malloc(ndr_heap_t *, unsigned);
#define NDR_MALLOC(XA, SZ) ndr_heap_malloc((XA)->heap, SZ)
#define NDR_NEW(XA, T) ndr_heap_malloc((XA)->heap, sizeof (T))
#define NDR_NEWN(XA, T, N) ndr_heap_malloc((XA)->heap, sizeof (T)*(N))
return (ndr_heap_malloc(heap, size));
if ((p = ndr_heap_malloc(heap, len)) != NULL)
vc->vcs = ndr_heap_malloc(heap, mlen);
vcbuf->vcb = ndr_heap_malloc(heap, mlen);
return (ndr_heap_malloc((ndr_heap_t *)nds->heap, len));
if ((param = ndr_heap_malloc(mxa->heap, p_len)) == NULL)