From dc43dd379393e25057514ba3d7e513a12d6b523c Mon Sep 17 00:00:00 2001 From: shi hai Date: Tue, 7 Jan 2020 08:32:38 +0800 Subject: [PATCH] Remove redundant _Py_INC_TPALLOCS in _Py_NewReference() --- Include/object.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Include/object.h b/Include/object.h index a9d434b5108068..01f6b0b689f085 100644 --- a/Include/object.h +++ b/Include/object.h @@ -439,7 +439,6 @@ static inline void _Py_NewReference(PyObject *op) _PyTraceMalloc_NewReference(op); } _Py_INC_TPALLOCS(op); - _Py_INC_REFTOTAL; Py_REFCNT(op) = 1; }