From: Stefan Sperling Subject: Re: plug some leaks in `got import` To: Mark Jamsek Cc: gameoftrees@openbsd.org Date: Wed, 11 Dec 2024 15:21:05 +0100 On Wed, Dec 11, 2024 at 10:59:51PM +1100, Mark Jamsek wrote: > Spotted by chance when investigating moving get_author() to the library: > we leak some objects with early returns in a couple error cases instead > of going to done to cleanup; and we also forgot to free the path_dir > char pointer, and ignores pathlist. ok stsp@