From acb36ea45c4b95945f9639aac4920c186353489b Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Sun, 25 Jul 1999 15:48:40 +0000 Subject: fix bug in change#3728 that might free COPs prematurely; null(op) now does more thorough scrubbing of the op, which fixes a few compile-time memory "leaks" p4raw-link: @3728 on //depot/perl: 7399586d384137f7ae66bcc82a83b0df7dd429e5 p4raw-id: //depot/perl@3739 --- dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dump.c') diff --git a/dump.c b/dump.c index 328ce8d458..28233e9822 100644 --- a/dump.c +++ b/dump.c @@ -391,7 +391,7 @@ Perl_do_op_dump(pTHX_ I32 level, PerlIO *file, OP *o) else PerlIO_printf(file, "DONE\n"); if (o->op_targ) { - if (o->op_type == OP_NULL || o->op_type == OP_SETSTATE) + if (o->op_type == OP_NULL) Perl_dump_indent(aTHX_ level, file, " (was %s)\n", PL_op_name[o->op_targ]); else Perl_dump_indent(aTHX_ level, file, "TARG = %d\n", o->op_targ); -- cgit v1.2.1