This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In Perl_sv_del_backref(), don't panic if tsv is already freed.
authorNicholas Clark <nick@ccl4.org>
Thu, 16 Feb 2012 22:20:53 +0000 (23:20 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 17 Feb 2012 17:20:45 +0000 (18:20 +0100)
commit5e778b6bfdda983ba0861e44982aff56ecc05da5
treeed0f6461562dbecd638663297949f7c4a9acb7a5
parent9dea62449b9d45762e5b89a91ff4e31f510c83fe
In Perl_sv_del_backref(), don't panic if tsv is already freed.

During global destruction it's possible for tsv, the target of this weak
reference, to already be freed. This isn't a bug, and hence the interpreter
should not panic.
sv.c