Bug #1381 ยป without_remember_the_previous_encoding.patch
re.c | ||
---|---|---|
regs, ONIG_OPTION_NONE);
|
||
if (!tmpreg) RREGEXP(re)->usecnt--;
|
||
if (tmpreg) {
|
||
if (RREGEXP(re)->usecnt) {
|
||
onig_free(reg);
|
||
}
|
||
else {
|
||
onig_free(RREGEXP(re)->ptr);
|
||
RREGEXP(re)->ptr = reg;
|
||
}
|
||
onig_free(reg);
|
||
}
|
||
if (result < 0) {
|
||
if (regs == ®i)
|