r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
[ab/samba.git/.git] / source4 / ntvfs / ipc / rap_server.c
index 4875592ad69a0a008e19e94113e231af7a8a9d63..c69ba2d1687ee61c2ba005d875f5440a52e9f42a 100644 (file)
@@ -32,7 +32,7 @@ NTSTATUS rap_netshareenum(struct smbsrv_request *req,
        int i;
        r->out.status = 0;
        r->out.available = dcesrv_common_get_count_of_shares(req, NULL);
-       r->out.info = talloc_array_p(req,
+       r->out.info = talloc_array(req,
                                     union rap_shareenum_info, r->out.available);
 
        for (i=0;i<r->out.available;i++) {