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: Patch submission for #876533 (potential leak in ensure_froml
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: bleair2, loewis
Priority: normal Keywords: patch

Created on 2004-03-20 20:41 by bleair2, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch_for_876533.diff bleair2, 2004-03-20 20:41 patch for file import.c
Messages (2)
msg45611 - (view) Author: Brian Leair (bleair2) Date: 2004-03-20 20:41
Summary: (?)
potential leak in ensure_fromlist (import.c)

In the recursive call inside of ensure_fromlist () an early 
exit is taken if the recursive call returns 0. In this early exit 
case the object "all" needs to be Py_DECREF ().

msg45612 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-03-23 16:40
Logged In: YES 
user_id=21627

It appears that this patch is identical to the one included in the 
bugreport, which I have applied. So closing this as out-of-date
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40057
2004-03-20 20:41:00bleair2create