Free the memory allocated by regcomp.