Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.6] bpo-30769: Fix reference leak introduced in 77703942c59 (GH-2416)#2425

Merged
serhiy-storchaka merged 1 commit into
python:3.6python/cpython:3.6from
emilyemorehouse:backport-a7874c7-3.6emilyemorehouse/cpython:backport-a7874c7-3.6Copy head branch name to clipboard
Jun 27, 2017
Merged

[3.6] bpo-30769: Fix reference leak introduced in 77703942c59 (GH-2416)#2425
serhiy-storchaka merged 1 commit into
python:3.6python/cpython:3.6from
emilyemorehouse:backport-a7874c7-3.6emilyemorehouse/cpython:backport-a7874c7-3.6Copy head branch name to clipboard

Conversation

@emilyemorehouse

Copy link
Copy Markdown
Member

New error condition paths were introduced, which did not decrement
key2 and val2 objects. Therefore, decrement references before
jumping to the error label.

Signed-off-by: Eric N. Vander Weele ericvw@gmail.com
(cherry picked from commit a7874c7)

)

New error condition paths were introduced, which did not decrement
`key2` and `val2` objects.  Therefore, decrement references before
jumping to the error label.

Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
(cherry picked from commit a7874c7)
@vstinner

Copy link
Copy Markdown
Member

@emilyemorehouse: Since there is no pre-commit CI for reference leaks, can you please confirm that the test leaks without the fix, and then pass with the fix?

@emilyemorehouse

Copy link
Copy Markdown
Member Author

@Haypo tests fail with identical leaks pre-patch and indeed pass with this fix.

@serhiy-storchaka serhiy-storchaka merged commit 2d348f7 into python:3.6 Jun 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.