From: Eric Sunshine Date: Wed, 14 Jul 2021 02:19:25 GMT Subject: Re: [PATCH 4/4] SANITIZE tests: fix leak in mailmap.c Message-ID: In-Reply-To: On Tue, Jul 13, 2021 at 8:12 PM Ævar Arnfjörð Bjarmason wrote: > Get closer to being able to run t4203-mailmap.sh by fixing a couple of > memory leak in mailmap.c. > > In the free_mailmap_entry() code added in 0925ce4d49 (Add map_user() > and clear_mailmap() to mailmap, 2009-02-08) the intent was clearly to > clear the "me" structure, but while we freed parts of the > mailmap_entry structure, we didn't free the structure itself. The same > goes for the "mailmap_info" structure. > --- Missing sign-off.