Thread (82 messages) flat view 82 messages, 11 authors, 2021-09-23

Re: [PATCH 4/4] SANITIZE tests: fix leak in mailmap.c

From: Eric Sunshine <hidden>
Date: 2021-07-14 02:19:40

On Tue, Jul 13, 2021 at 8:12 PM Ævar Arnfjörð Bjarmason
[off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help