Where are you?!!??!

There's a memory leak here but for the life of me I can't figure out where.   None of my changes look like they should have caused this but that always seems to be the case.  Nothing like watching time go bye while you wish you were working on other things as you try to trace down and disconnect circular references.  Bleagh.

Double bleagh.

Smart pointers fail me
I am rendered impotent
Accursed language

Comments (5)

  1. Marco Nova says:

    Exception Exception Exception

  2. Haiku alone will not save you i’m afraid 😉

  3. Every object you implement should have Close() method. If you cache any interfaces, you call Close on every one of them when your Close is called. Haven’t had circular reference problem for ages.

  4. Marco: How would exceptions help here?

  5. Nicholas Allen says:

    Tools like Purify sell despite their ridiculous price tags because finding memory leaks by hand sucks.

Skip to main content