diff options
author | Karl Williamson <khw@cpan.org> | 2017-12-08 07:27:13 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-12-08 07:30:33 -0700 |
commit | 4ee748a5cc45fab2bd55de5258176a0cdf99bc96 (patch) | |
tree | d59b7cfef5a47dcc1a2d37f220b8a5a534771672 /regcomp.c | |
parent | 9842f1a008ea4490ae903e34ed554be5e0ffc139 (diff) | |
download | perl-4ee748a5cc45fab2bd55de5258176a0cdf99bc96.tar.gz |
PATCH: [perl #132548] regcomp.c Fix memory leak
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -17721,6 +17721,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, if (_invlist_len(only_non_utf8_list) != 0) { ANYOF_FLAGS(ret) |= ANYOF_SHARED_d_MATCHES_ALL_NON_UTF8_NON_ASCII_non_d_WARN_SUPER; } + SvREFCNT_dec_NN(only_non_utf8_list); } else { /* Here there were no complemented posix classes. That means |