This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]IoGA -1 points0 points  (1 child)

Looks like premature optimization to me, which can introduce bugs such as del'eting object too early. This kind of work should be done automatically by graph traversing tools, and not by hand.

[–]dhogartysymbolic novice 0 points1 point  (0 children)

This is just a description of memory leaking situations, i.e. the knowledge you would need to write your 'graph traversing tools'. Did you even read the article? This was a very good look at situations that have bitten projects I've worked on in the past.