Free potentially allocated regexes from Params::evalGrep
In Params::evalGrep regcomp allocates some internal space for the regex objects, which must be freed manually via regfree(). This was however only done when the call to regcomp() failed and not on success. As the regexes are needed later, they have to be deallocated by the destructor.v0.27.3
parent
9d646f6d78
commit
4b24e011dc
Loading…
Reference in New Issue