mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
fix refleak
This commit is contained in:
parent
e4dad4f8e2
commit
0a4dae5309
2 changed files with 6 additions and 0 deletions
|
@ -376,6 +376,7 @@ class Obj2ModVisitor(PickleVisitor):
|
|||
self.emit(format % error, 1, reflow=False)
|
||||
if add_label:
|
||||
self.emit("failed:", 1)
|
||||
self.emit("Py_XDECREF(tmp);", 1)
|
||||
self.emit("return 1;", 1)
|
||||
self.emit("}", 0)
|
||||
self.emit("", 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue