Free pcre resources after using it.