Skip to content

Commit 9887dad

Browse files
cmaloneyvstinner
andauthored
Apply suggestion from @vstinner
Co-authored-by: Victor Stinner <[email protected]>
1 parent 4e27d13 commit 9887dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/bytearrayobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ bytearray_dealloc(PyObject *op)
11811181
"deallocated bytearray object has exported buffers");
11821182
PyErr_Print();
11831183
}
1184-
Py_CLEAR(self->ob_bytes_object);
1184+
Py_XDECREF(self->ob_bytes_object);
11851185
Py_TYPE(self)->tp_free((PyObject *)self);
11861186
}
11871187

0 commit comments

Comments
 (0)