Re: [PATCH v4 1/4] qemu-keymap: Make references to allocations static

2024-05-27 Thread Philippe Mathieu-Daudé
On 24/5/24 07:35, Akihiko Odaki wrote: LeakSanitizer complains about allocations whose references are held only by automatic variables. It is possible to free them to suppress the complaints, but it is a chore to make sure they are freed in all exit paths so make them static instead.

[PATCH v4 1/4] qemu-keymap: Make references to allocations static

2024-05-23 Thread Akihiko Odaki
LeakSanitizer complains about allocations whose references are held only by automatic variables. It is possible to free them to suppress the complaints, but it is a chore to make sure they are freed in all exit paths so make them static instead. Signed-off-by: Akihiko Odaki --- qemu-keymap.c |