diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-11-03 06:50:04 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-11-04 22:45:31 -0800 |
commit | c25611d58839424e4723cc29fa005047f61b7d2b (patch) | |
tree | 36fac7019282f8cd5d41f4b98978d47c685a48ef /perly.y | |
parent | 2e880be705313389843cfb10a460d634e9d54ce7 (diff) | |
download | perl-c25611d58839424e4723cc29fa005047f61b7d2b.tar.gz |
Stop statement labels from leaking
They have leaked since v5.15.9-35-g5db1eb8 (which probably broke mad
dumping of labels; to be addressed in the next commit).
Diffstat (limited to 'perly.y')
-rw-r--r-- | perly.y | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -280,12 +280,14 @@ labfullstmt: LABEL barestmt savepv(SvPVX(((SVOP*)$1)->op_sv)), $2); TOKEN_GETMAD($1, $2 ? cLISTOPx($$)->op_first : $$, 'L'); + op_free((OP*)$1); } | LABEL labfullstmt { $$ = newSTATEOP(SvUTF8(((SVOP*)$1)->op_sv), savepv(SvPVX(((SVOP*)$1)->op_sv)), $2); TOKEN_GETMAD($1, cLISTOPx($$)->op_first, 'L'); + op_free((OP*)$1); } ; |