Subject: | UNIVERSAL::ref makes memory leak? |
Hi.
I notice this code makes memory leak:
use UNIVERSAL::ref 0.14;
my $o = bless {};
ref $o while 1;
But, It doesn't make memory leak:
use UNIVERSAL::ref 0.14;
my $o = {};
ref $o while 1;
Also, It doesn't make memory leak:
my $o = bless {};
ref $o while 1;
Environment:
OS:
- Darwin Kernel Version 12.5.0
- Linux 3.13.0-36-generic #63-Ubuntu SMP x86_64 GNU/Linux
Perl:
- 5.10.0
- 5.18.2
- 5.20.1
UNIVERSAL::ref:
- 0.14
Thank you.