aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-07-23 17:49:26 +0900
committerMichael Tokarev <mjt@tls.msk.ru>2024-10-03 17:26:05 +0300
commitfa9ddb1caf98464f82d43397c7bc78baed5c43ee (patch)
tree39fba115d7d320a29dea40e5e5b66695d903cf63 /rust/qemu-api-macros
parent7bd9b0b41df67680ee20437c4c8f857c847235bf (diff)
downloadqemu-fa9ddb1caf98464f82d43397c7bc78baed5c43ee.zip
qemu-fa9ddb1caf98464f82d43397c7bc78baed5c43ee.tar.gz
qemu-fa9ddb1caf98464f82d43397c7bc78baed5c43ee.tar.bz2
qemu-keymap: Release local allocation references
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. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions