s3-talloc Change TALLOC_ZERO_P() to talloc_zero()
[nivanova/samba-autobuild/.git] / source3 / smbd / message.c
index 1877582d53bd4ef6b35b7028642c226c40073beb..63b08e126203148718bd3552f9a82b797ba26566 100644 (file)
@@ -202,7 +202,7 @@ void reply_sendstrt(struct smb_request *req)
 
        TALLOC_FREE(smbd_msg_state);
 
-       smbd_msg_state = TALLOC_ZERO_P(NULL, struct msg_state);
+       smbd_msg_state = talloc_zero(NULL, struct msg_state);
 
        if (smbd_msg_state == NULL) {
                reply_nterror(req, NT_STATUS_NO_MEMORY);