Possible memory leak in typeobject.c?
25 Jun
2004
25 Jun
'04
2: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
25 Jun
25 Jun
3:21 a.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
7242
Age (days ago)
7242
Last active (days ago)
1 comments
2 participants
participants (2)
-
Eric Huss
-
Raymond Hettinger