But even so, the variable should be destroyed when it moves out of scope and it is not, so I suspect some sort of circular reference. I just can't see it.
If $booking_dlg->{booking_main} contains a reference to $booking_dlg? Then this is a circular reference:
$booking_dlg->{Ctl_Booking_Referring_Doctor_Txt} = i_staticText->new($ +booking_dlg->{booking_main}
In reply to Re^3: Detecting memory leaks.
by BrowserUk
in thread Detecting memory leaks.
by Steve_BZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |