summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
Diffstat (limited to 'op.c')
-rw-r--r--op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.c b/op.c
index d345575cc8..13e536fed2 100644
--- a/op.c
+++ b/op.c
@@ -3133,6 +3133,7 @@ register OP *op;
? SVt_PVHV
: SVt_PVGV);
}
+ SvREFCNT_dec(kid->op_sv);
kid->op_sv = SvREFCNT_inc(gv);
}
return op;