bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObj… · python/cpython@89c4f90 (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 89c4f90
authored and
committed
bpo-35470: Fix a reference counting bug in _PyImport_FindExtensionObjectEx(). (GH-11128)
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -749,7 +749,6 @@ _PyImport_FindExtensionObjectEx(PyObject *name, PyObject *filename, | ||
749 | 749 | } |
750 | 750 | if (_PyState_AddModule(mod, def) < 0) { |
751 | 751 | PyMapping_DelItem(modules, name); |
752 | -Py_DECREF(mod); | |
753 | 752 | return NULL; |
754 | 753 | } |
755 | 754 | if (Py_VerboseFlag) |