diff options
author | sunmy2019 <59365878+sunmy2019@users.noreply.github.com> | 2023-05-05 09:54:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 09:54:03 (GMT) |
commit | 163034515a81f137d1dd7d289dc048eb0f1cd424 (patch) | |
tree | 45afa7d43416c0766ad9906c0166a9f875d0b267 | |
parent | e5b8b19d99861c73ab76ee0175a685acf6082d7e (diff) | |
download | cpython-163034515a81f137d1dd7d289dc048eb0f1cd424.zip cpython-163034515a81f137d1dd7d289dc048eb0f1cd424.tar.gz cpython-163034515a81f137d1dd7d289dc048eb0f1cd424.tar.bz2 |
gh-104190: fix ubsan crash (#104191)
-rw-r--r-- | Modules/_testcapimodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index ae70a33..376f04f 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -4221,7 +4221,7 @@ PyInit__testcapi(void) return NULL; } int ret = PyModule_AddType(m, (PyTypeObject*)ObjExtraData_Type); - Py_DECREF(&ObjExtraData_Type); + Py_DECREF(ObjExtraData_Type); if (ret < 0) { return NULL; } |