there are some instances where you can still get in trouble for not clearing the sample. even if you gave the beat away and didn't make any money, who's to say that an artist might not wanna make money off of it. but just to make sure you're covered, make a contract for leasing your beats for no charge and put in the contract that the artist is responsible for clearing the sample if used for commercial purposes.