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: potential leak in ensure_fromlist (import.c)
Type: Stage:
Components: Interpreter Core Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: glchapman, loewis
Priority: normal Keywords:

Created on 2004-01-14 01:15 by glchapman, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
import.c.diff glchapman, 2004-01-14 01:15
Messages (2)
msg19681 - (view) Author: Greg Chapman (glchapman) Date: 2004-01-14 01:15
This may not ever happen, but if the recursive call to 
ensure_fromlist from within ensure_fromlist (line 2106 
in current CVS) returns false, then the function is 
exited without decrefing all.  Attached is a little patch 
for this.
msg19682 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-03-23 16:39
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as import.c 2.222.6.2 and 2.227.
History
Date User Action Args
2022-04-11 14:56:02adminsetgithub: 39818
2004-01-14 01:15:49glchapmancreate