From: Rafael Garcia-Suarez Date: Mon, 19 Apr 2004 12:26:35 +0000 (+0000) Subject: Fix for [perl #28919] : sometimes the function ck_ftst was trying X-Git-Tag: accepted/trunk/20130322.191538~22072 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=181bc48df1acbf1e213b165d7e27c61b63e2b13e;p=platform%2Fupstream%2Fperl.git Fix for [perl #28919] : sometimes the function ck_ftst was trying to read an op that was just freed, which was obviously illegal. p4raw-id: //depot/perl@22716 --- diff --git a/op.c b/op.c index 46cc07b..02144e8 100644 --- a/op.c +++ b/op.c @@ -5088,6 +5088,7 @@ Perl_ck_ftst(pTHX_ OP *o) gv_fetchpv(SvPVx(kid->op_sv, n_a), TRUE, SVt_PVIO)); op_free(o); o = newop; + return o; } else { if ((PL_hints & HINT_FILETEST_ACCESS) &&