Issue 876533: potential leak in ensure_fromlist (import.c) (original) (raw)

Issue876533

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:02 admin set github: 39818
2004-01-14 01:15:49 glchapman create