r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[abartlet/samba.git/.git] / source4 / rpc_server / dcom / remact.c
index 30e508d65ba5fa1add76e0f8e92988e883e0a4a8..506417d7e4e613e16b01ceb5cd2bd39d568162e2 100644 (file)
@@ -55,8 +55,8 @@ static WERROR RemoteActivation(struct dcesrv_call_state *dce_call, TALLOC_CTX *m
        
        /* FIXME: Loop thru given interfaces and set r->out.results and 
         * r->out.interfaces */
-       r->out.ifaces = talloc_array_p(mem_ctx, struct pMInterfacePointer, r->in.Interfaces);
-       r->out.results = talloc_array_p(mem_ctx, WERROR, r->in.Interfaces);
+       r->out.ifaces = talloc_array(mem_ctx, struct pMInterfacePointer, r->in.Interfaces);
+       r->out.results = talloc_array(mem_ctx, WERROR, r->in.Interfaces);
        r->out.hr = cr->out.result;
 
        for (i = 0; i < r->in.Interfaces; i++) {