s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / smbd / smb2_ioctl.c
index 48487428de50a419e8574c48c8213cd5f6fa3e2a..a5b8326626c3d7e76165fc50bdf52ac3917e00a5 100644 (file)
@@ -411,7 +411,7 @@ static struct tevent_req *smbd_smb2_ioctl_send(TALLOC_CTX *mem_ctx,
                        labels = True;
                }
 
-               shadow_data = TALLOC_ZERO_P(talloc_tos(),
+               shadow_data = talloc_zero(talloc_tos(),
                                            struct shadow_copy_data);
                if (tevent_req_nomem(shadow_data, req)) {
                        DEBUG(0,("TALLOC_ZERO() failed!\n"));