Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f4ffd8c6
Commit
f4ffd8c6
authored
Nov 22, 2016
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #27100: Fix ref leak
parent
fbc56909
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Python/ceval.c
Python/ceval.c
+3
-1
No files found.
Python/ceval.c
View file @
f4ffd8c6
...
...
@@ -3138,8 +3138,10 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
if
(
enter
==
NULL
)
goto
error
;
exit
=
special_lookup
(
mgr
,
&
PyId___exit__
);
if
(
exit
==
NULL
)
if
(
exit
==
NULL
)
{
Py_DECREF
(
enter
);
goto
error
;
}
SET_TOP
(
exit
);
Py_DECREF
(
mgr
);
res
=
PyObject_CallFunctionObjArgs
(
enter
,
NULL
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment