Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Undeffing a gv in DESTROY triggered by undeffing the same gv
$ ./perl -Ilib -e 'sub foo{} bless \&foo; DESTROY { undef *foo } undef *foo' Attempt to free unreferenced glob pointers, Perl interpreter: 0x7fd6a3803200 at -e line 1. Lowering the reference count on the glob pointer only after freeing the contents fixes this.
- Loading branch information
Father Chrysostomos
committed
Nov 12, 2013
1 parent
5deb134
commit 4571f4a
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters