r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[ira/wip.git] / source4 / libnet / libnet_join.c
index 6d1003078dc678239a3195fdd3d8480e3f3ec5fc..bf8524c495c99b768ab72cbde2cd9d484acf7a68 100644 (file)
@@ -170,7 +170,7 @@ static NTSTATUS libnet_JoinDomain_samr(struct libnet_context *ctx,
                /* prepare samr_LookupNames */
                ln.in.domain_handle = &d_handle;
                ln.in.num_names = 1;
-               ln.in.names = talloc_array_p(mem_ctx, struct samr_String, 1);
+               ln.in.names = talloc_array(mem_ctx, struct samr_String, 1);
                if (!ln.in.names) {
                        r->samr.out.error_string = "Out of Memory";
                        return NT_STATUS_NO_MEMORY;