seems like pcre_free_study is not defined on older ubuntu
This commit is contained in:
parent
82ea09e146
commit
946bac8f3c
2 changed files with 5 additions and 0 deletions
|
@ -79,9 +79,11 @@ void r3_tree_free(node * tree) {
|
|||
if (tree->pcre_pattern) {
|
||||
pcre_free(tree->pcre_pattern);
|
||||
}
|
||||
/*
|
||||
if (tree->pcre_extra) {
|
||||
pcre_free_study(tree->pcre_extra);
|
||||
}
|
||||
*/
|
||||
if (tree->combined_pattern)
|
||||
zfree(tree->combined_pattern);
|
||||
if (tree->ov)
|
||||
|
@ -208,9 +210,11 @@ void r3_tree_compile_patterns(node * n) {
|
|||
if (n->pcre_pattern) {
|
||||
pcre_free(n->pcre_pattern);
|
||||
}
|
||||
/*
|
||||
if (n->pcre_extra) {
|
||||
pcre_free_study(n->pcre_extra);
|
||||
}
|
||||
*/
|
||||
n->pcre_pattern = pcre_compile(
|
||||
n->combined_pattern, /* the pattern */
|
||||
option_bits, /* default options */
|
||||
|
|
|
@ -444,3 +444,4 @@
|
|||
1400666823,6406965.25
|
||||
1400666950,6684744.95
|
||||
1400667091,6771202.47
|
||||
1400667800,6695271.95
|
||||
|
|
|
Loading…
Reference in a new issue