diff options
author | Karl Williamson <khw@cpan.org> | 2015-02-19 21:03:44 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-02-19 23:05:59 -0700 |
commit | ebcacf7ba4dee671f52a58cf981f1fec3b637a39 (patch) | |
tree | a482e45edd9023351f839fd52fb14d6205072c0c /regcomp.c | |
parent | 06ae27223f8f0af5633beb82c8be873ecadaaae3 (diff) | |
download | perl-ebcacf7ba4dee671f52a58cf981f1fec3b637a39.tar.gz |
regcomp.c: Add assertion
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -15472,6 +15472,8 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, } if (ret_invlist) { + assert(cp_list); + *ret_invlist = cp_list; SvREFCNT_dec(swash); |