|
From: | Michael Tokarev |
Subject: | Re: [PATCH] qemu-keymap: Release local allocation references |
Date: | Wed, 2 Oct 2024 14:03:48 +0300 |
User-agent: | Mozilla Thunderbird |
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 that the value of the "state" variable is only referred in the current execution of the function and to put it on the stack. Release references to allocations and suppress the error once for all.
Applied to the trivial-patches tree. Thanks! /mjt
[Prev in Thread] | Current Thread | [Next in Thread] |