From 7ea82d9f8a27d36d0e3ab9d8d6e92d766bb815e6 Mon Sep 17 00:00:00 2001 From: Dong-hee Na Date: Sun, 12 Jun 2022 23:51:31 +0900 Subject: [PATCH] gh-93747: Fix Refleak when handling multiple Py_tp_doc slots --- Objects/typeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/typeobject.c b/Objects/typeobject.c index e57651446f888f..18094bd43dd3a1 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -3569,7 +3569,7 @@ PyType_FromMetaclass(PyTypeObject *metaclass, PyObject *module, PyErr_SetString( PyExc_SystemError, "Multiple Py_tp_doc slots are not supported."); - return NULL; + goto finally; } if (slot->pfunc == NULL) { type->tp_doc = NULL; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy