freeing regexes

cleaning up
Merge #508 r=@tcr: freeing regexes

This PR addresses two places in which we never free regex structs after hsregex callocs them.