Possible memory leak in typeobject.c?

June 25, 2004
11:37 p.m.
While tearing my hair out trying to figure out why my dynamically allocated type objects weren't getting garbage collected, I noticed that the tp_new_wrapper object had 1 too many ref counts. Does the following patch make sense? Seems fairly straightforward to me. -Eric

June 2004
12:21 p.m.
While tearing my hair out trying to figure out why my dynamically allocated type objects weren't getting garbage collected, I noticed
[Eric Huss] that
the tp_new_wrapper object had 1 too many ref counts.
Does the following patch make sense?
Yes, it does. Applied and backported. Thanks for the patch. Next time, please use SourceForge. Raymond Hettinger
7685
Age (days ago)
7685
Last active (days ago)
1 comments
2 participants
participants (2)
-
Eric Huss
-
Raymond Hettinger