freeing regexes

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

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