Attempt to fix regression for pcre_free_study().
This commit is contained in:
parent
33b74a04ab
commit
e25bf187ad
|
@ -849,11 +849,12 @@ void CppCheck::executeRules(const std::string &tokenlist, const Tokenizer &token
|
|||
}
|
||||
|
||||
pcre_free(re);
|
||||
|
||||
#ifdef PCRE_CONFIG_JIT
|
||||
// Free up the EXTRA PCRE value (may be NULL at this point)
|
||||
if (pcreExtra) {
|
||||
pcre_free_study(pcreExtra);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue