s3-talloc Change TALLOC_P() to talloc()
[ira/wip.git] / source3 / smbd / nttrans.c
index 18d5979e3c2755fdf0b7e5e8f312e512dc23fc56..f0873a6b9c9754924dfc5da26fa4e911c99ebc3e 100644 (file)
@@ -3020,7 +3020,7 @@ void reply_nttrans(struct smb_request *req)
                return;
        }
 
-       if ((state = TALLOC_P(conn, struct trans_state)) == NULL) {
+       if ((state = talloc(conn, struct trans_state)) == NULL) {
                reply_nterror(req, NT_STATUS_NO_MEMORY);
                END_PROFILE(SMBnttrans);
                return;