projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Re: Perl bug with "delete" on arrays
[p5sagit/p5-mst-13.2.git]
/
regcomp.c
diff --git
a/regcomp.c
b/regcomp.c
index
209743e
..
575bd43
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-4586,6
+4586,7
@@
Perl_pregfree(pTHX_ struct regexp *r)
SV** old_curpad;
while (--n >= 0) {
+ /* If you add a ->what type here, update the comment in regcomp.h */
switch (r->data->what[n]) {
case 's':
SvREFCNT_dec((SV*)r->data->data[n]);