Re: [PATCH] qemu-keymap: Release local allocation references

2024-10-02 Thread Michael Tokarev
23.07.2024 11:49, Akihiko Odaki wrote: Commit 2523baf7fb4d ("qemu-keymap: Make references to allocations static") made references to allocations static to ensure LeakSanitizer can track them. This trick unfortunately did not work with gcc version 14.0.1; that compiler is clever enough to know tha

Re: [PATCH] qemu-keymap: Release local allocation references

2024-10-01 Thread Marc-André Lureau
On Tue, Jul 23, 2024 at 12:50 PM Akihiko Odaki wrote: > Commit 2523baf7fb4d ("qemu-keymap: Make references to allocations > static") made references to allocations static to ensure LeakSanitizer > can track them. This trick unfortunately did not work with gcc version > 14.0.1; that compiler is cl

[PATCH] qemu-keymap: Release local allocation references

2024-07-23 Thread Akihiko Odaki
Commit 2523baf7fb4d ("qemu-keymap: Make references to allocations static") made references to allocations static to ensure LeakSanitizer can track them. This trick unfortunately did not work with gcc version 14.0.1; that compiler is clever enough to know that the value of the "state" variable is on