| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8969,8 +8969,10 @@ super_descr_get(PyObject *self, PyObject *obj, PyObject *type) | |||
| 8969 | 8969 | return NULL; | |
| 8970 | 8970 | newobj = (superobject *)PySuper_Type.tp_new(&PySuper_Type, | |
| 8971 | 8971 | NULL, NULL); | |
| 8972 | - if (newobj == NULL) | ||
| 8972 | + if (newobj == NULL) { | ||
| 8973 | + Py_DECREF(obj_type); | ||
| 8973 | 8974 | return NULL; | |
| 8975 | + } | ||
| 8974 | 8976 | Py_INCREF(su->type); | |
| 8975 | 8977 | Py_INCREF(obj); | |
| 8976 | 8978 | newobj->type = su->type; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments