Skip to content

bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects.#16155

Merged
serhiy-storchaka merged 2 commits into
python:masterfrom
serhiy-storchaka:sqlite-row-compare-leak
Sep 16, 2019
Merged

bpo-38175: Fix a memory leak in comparison of sqlite3.Row objects.#16155
serhiy-storchaka merged 2 commits into
python:masterfrom
serhiy-storchaka:sqlite-row-compare-leak

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Sep 15, 2019

Copy link
Copy Markdown
Member

@berkerpeksag berkerpeksag left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, the new code looks much better, thank you very much! I only have two minor comments on the patch.

Comment thread Modules/_sqlite/row.c Outdated
Comment thread Misc/NEWS.d/next/Library/2019-09-15-10-30-33.bpo-38175.61XlUv.rst Outdated

@berkerpeksag berkerpeksag left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@serhiy-storchaka
serhiy-storchaka merged commit 8debfa5 into python:master Sep 16, 2019
@serhiy-storchaka
serhiy-storchaka deleted the sqlite-row-compare-leak branch September 16, 2019 17:15
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-16193 is a backport of this pull request to the 3.8 branch.

@bedevere-bot

Copy link
Copy Markdown

GH-16194 is a backport of this pull request to the 3.7 branch.

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @serhiy-storchaka, I could not cleanly backport this to 2.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 8debfa50407107ff2329d01081cdc12d359f1d12 2.7

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 16, 2019
…ythonGH-16155)

(cherry picked from commit 8debfa5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Sep 17, 2019
…ts. (pythonGH-16155).

(cherry picked from commit 8debfa5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-bot

Copy link
Copy Markdown

GH-16215 is a backport of this pull request to the 2.7 branch.

miss-islington added a commit that referenced this pull request Sep 17, 2019
…H-16155)

(cherry picked from commit 8debfa5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
miss-islington added a commit that referenced this pull request Sep 17, 2019
…H-16155)

(cherry picked from commit 8debfa5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Sep 17, 2019
@serhiy-storchaka

Copy link
Copy Markdown
Member Author

Thank you for your review @berkerpeksag!

@serhiy-storchaka serhiy-storchaka removed their assignment Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants