Fix
This commit is contained in:
parent
238aee085f
commit
175b594234
1 changed files with 2 additions and 2 deletions
|
@ -205,8 +205,8 @@ void r3_tree_compile_patterns(node * n) {
|
||||||
int erroffset;
|
int erroffset;
|
||||||
unsigned int option_bits = 0;
|
unsigned int option_bits = 0;
|
||||||
|
|
||||||
if (tree->pcre_pattern) {
|
if (n->pcre_pattern) {
|
||||||
pcre_free(tree->pcre_pattern);
|
pcre_free(n->pcre_pattern);
|
||||||
}
|
}
|
||||||
if (n->pcre_extra) {
|
if (n->pcre_extra) {
|
||||||
pcre_free_study(n->pcre_extra);
|
pcre_free_study(n->pcre_extra);
|
||||||
|
|
Loading…
Reference in a new issue