summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-10-06 14:55:38 -0600
committerKarl Williamson <khw@cpan.org>2014-10-07 08:51:11 -0600
commitc66a6e35c0c9b556e732518ae78e397bc93ad7ac (patch)
tree54aa552b800be15e56f510c5a6dd1bf129d5622c
parent7622251e573fa1b565b87088b4906fdbdfb0b4bd (diff)
downloadperl-c66a6e35c0c9b556e732518ae78e397bc93ad7ac.tar.gz
regcomp.c: Fix EBCDIC-only memory leak
-rw-r--r--regcomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index fe719abec0..1757d23d51 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -14433,6 +14433,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth,
}
_invlist_union(cp_foldable_list, this_range, &cp_foldable_list);
literal_endpoint = 0;
+ SvREFCNT_dec_NN(this_range);
#endif
}