s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / smbd / nttrans.c
index f0873a6..5fdb07d 100644 (file)
@@ -2235,7 +2235,7 @@ static void call_nt_transact_ioctl(connection_struct *conn,
                        labels = True;
                }
 
-               shadow_data = TALLOC_ZERO_P(talloc_tos(),
+               shadow_data = talloc_zero(talloc_tos(),
                                            struct shadow_copy_data);
                if (shadow_data == NULL) {
                        DEBUG(0,("TALLOC_ZERO() failed!\n"));