Seal leaks

this is the PR for my ongoing valgind work
Any hints as to why this does anything?