From: Stefan Sperling Subject: Re: ref_resolve() leak To: Kyle Ackerman Cc: "gameoftrees@openbsd.org" Date: Tue, 12 Nov 2024 09:19:56 +0100 On Tue, Nov 12, 2024 at 06:43:03AM +0000, Kyle Ackerman wrote: > Here is a diff to repair misuse of the current API. It seems like most other functions create **inserted and check to see if it is NULL to determine if it was added to the pathlist. Yes, that's how this API is supposed to be used (not saying it was the best possible API). Committed, thanks!