fix some leaks

That push leak was sneaky!