This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Missing Py_DECREF in pysqlite_cache_display
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: georg.brandl, gvanrossum, tcdelaney
Priority: normal Keywords: patch

Created on 2007-06-05 12:00 by tcdelaney, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
sqlite_cache.diff tcdelaney, 2007-06-05 12:00
Messages (5)
msg52719 - (view) Author: Tim Delaney (tcdelaney) Date: 2007-06-05 12:00
In pysqlite_cache_display, if template is NULL, fmt_args is not decrefed before returning from the function.

Diff attached.
msg52720 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-06-05 21:25
Committed revision 55783.
msg52721 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-06-05 22:12
Backported to 2.5 in rev. 55784.
msg52722 - (view) Author: Tim Delaney (tcdelaney) Date: 2007-06-05 23:25
This also needs to be applied against the p3yk branch.
msg52723 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-06-05 23:46
That will happen in due time the next time we run svnmerge.
History
Date User Action Args
2022-04-11 14:56:24adminsetgithub: 45040
2007-06-05 12:00:31tcdelaneycreate