diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-07-05 09:40:35 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2024-07-05 12:34:52 +0100 |
commit | 853c685e8cb4a53d29c3c61145638b22fd1b9659 (patch) | |
tree | f381e590c5b7676cf0d2418c18bd585c209f2cb6 /cpu-common.c | |
parent | 2089a2e5bb81a258b7d30bf51a2ab7447ecc4e7f (diff) |
plugins: Free CPUPluginState before destroying vCPU state
cpu::plugin_state is allocated in cpu_common_initfn() when
the vCPU state is created. Release it in cpu_common_finalize()
when we are done.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-Id: <20240606124010.2460-3-philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240705084047.857176-29-alex.bennee@linaro.org>
Diffstat (limited to 'cpu-common.c')
0 files changed, 0 insertions, 0 deletions