Seal leaks

this is the PR for my ongoing valgind work
Remove?