in reply to Re: Memory leak in Win32::CtrlGUI?
in thread Memory leak in Win32::CtrlGUI? [SOLVED, sort of]

It leaks only when the line
my $coord = $ide->get_property('rect');
has not been commented out. The other reference to $ide is not a problem. I suspect the problem is with Win32::Setupsup, but that's just an XS shell, leading me to believe the real culprit is in the lower-level C code. (I'm not a C programmer, BTW.)

-Phil

Replies are listed 'Best First'.
Re^3: Memory leak in Win32::CtrlGUI?
by Anonymous Monk on Apr 12, 2011 at 16:40 UTC
    has not been commented out

    That is why I said its plausible. I have vague memories of closures that would leak/stop leaking , randomly, if you added/removed lines

    I suspect the problem is with Win32::Setupsup, but that's just an XS shell, leading me to believe the real culprit is in the lower-level C code. (I'm not a C programmer, BTW.)

    I tend to agree, given this code hasn't been touched in 10+ years.

    I don't see anything obvious in