diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-05-28 09:41:57 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-07-03 14:05:45 -0600 |
commit | 318c430e61fb87b0d32ecee8825b85847c3980ab (patch) | |
tree | c658476f90eeb30538adbf244e82edd0a3cc6d53 /regcomp.c | |
parent | 060b7a350d57eeb61e809e9a5b10a868aa45de96 (diff) | |
download | perl-318c430e61fb87b0d32ecee8825b85847c3980ab.tar.gz |
regcomp.c: Remove invlist_destroy calls
This is in preparation to removing the function
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6366,7 +6366,7 @@ S_add_range_to_invlist(pTHX_ SV* invlist, const UV start, const UV end) invlist_union(invlist, range_invlist, &invlist); /* The passed in list can be freed, as well as our temporary */ - invlist_destroy(range_invlist); + SvREFCNT_dec(range_invlist); return invlist; } @@ -10229,14 +10229,14 @@ parseit: } } } - invlist_destroy(fold_intersection); + SvREFCNT_dec(fold_intersection); } /* Combine the two lists into one. */ if (l1_fold_invlist) { if (nonbitmap) { invlist_union(nonbitmap, l1_fold_invlist, &nonbitmap); - invlist_destroy(l1_fold_invlist); + SvREFCNT_dec(l1_fold_invlist); } else { nonbitmap = l1_fold_invlist; @@ -10397,7 +10397,7 @@ parseit: start, end); } } - invlist_destroy(nonbitmap); + SvREFCNT_dec(nonbitmap); } if (SvCUR(listsv) == initial_listsv_len && ! unicode_alternate) { |