8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445a39b commit 7fa37b4Copy full SHA for 7fa37b4
Objects/typevarobject.c
@@ -503,13 +503,15 @@ typedef struct {
503
static void
504
paramspecattr_dealloc(PyObject *self)
505
{
506
+ PyTypeObject *tp = Py_TYPE(self);
507
paramspecattrobject *psa = (paramspecattrobject *)self;
508
509
_PyObject_GC_UNTRACK(self);
510
511
Py_XDECREF(psa->__origin__);
512
513
Py_TYPE(self)->tp_free(self);
514
+ Py_DECREF(tp);
515
}
516
517
static int
0 commit comments