Seal leaks

this is the PR for my ongoing valgind work
Oh, yes.