This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35ade29
)
Free the regexp state when exiting "recursion".
author
Nicholas Clark
<nick@ccl4.org>
Sat, 25 Mar 2006 11:35:33 +0000
(11:35 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Sat, 25 Mar 2006 11:35:33 +0000
(11:35 +0000)
p4raw-id: //depot/perl@27600
regexec.c
patch
|
blob
|
blame
|
history
diff --git
a/regexec.c
b/regexec.c
index
79254eb
..
523f1a2
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-4605,6
+4605,7
@@
exit_level:
accepted = p->accepted;
PL_reg_call_cc = p->reg_call_cc;
prev_state = p->prev_state;
+ Safefree(p);
switch (resume_state) {
case resume_TRIE1: