bugs from n+k patterns (was: Re: Preventing/handling space leaks)