Merge pull request #3085 from yongthecoder/regfree Do not call regfree() on an empty regex that is not successfully created...