Restore the else block accidently eaten by change 33074.
Nicholas Clark [Sat, 26 Jan 2008 15:17:09 +0000 (15:17 +0000)]
p4raw-id: //depot/perl@33075

cop.h

diff --git a/cop.h b/cop.h
index 48f9d5b..359abd6 100644 (file)
--- a/cop.h
+++ b/cop.h
@@ -520,6 +520,9 @@ struct block_loop {
                sv_2mortal(*s_v_p);                                     \
                *s_v_p = cx->blk_loop.itersave;                         \
            }                                                           \
+           else {                                                      \
+               SvREFCNT_dec(cx->blk_loop.itersave);                    \
+           }                                                           \
        }                                                               \
        if (CxTYPE(cx) == CXt_LOOP_FOR)                                 \
            SvREFCNT_dec(cx->blk_loop.state_u.ary.ary);