regfree() to deallocate stuff within the compiled regular expression. This bug was found with valgrind.