]> git.proxmox.com Git - mirror_qemu.git/commit
linux-user/elfload: Stack allocate struct mm_struct
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 27 Feb 2024 02:50:32 +0000 (16:50 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 29 Feb 2024 18:48:02 +0000 (08:48 -1000)
commit0af22a6abf8397f966701f120eee8a5bdf22ab19
treef8848e638443589b221edfc9b24cc74c0375c423
parent6a202944354d077141bb97a21d35f8ab16b6a127
linux-user/elfload: Stack allocate struct mm_struct

Ignoring the fact that g_malloc cannot fail, the structure
is quite small and might as well be allocated locally.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/elfload.c