]> git.ipfire.org Git - thirdparty/qemu.git/commit
backends/cryptodev-builtin: Fix local_error leaks
authorLi Zhijian <lizhijian@fujitsu.com>
Mon, 22 Apr 2024 08:53:12 +0000 (16:53 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 30 Apr 2024 17:10:14 +0000 (20:10 +0300)
commitf6abce29cc4afa0445cb3b29a265a114ac9fa744
tree90368344d79043bd865ca337ea3621f59382bd72
parent37751067b175afc3ba3cc970a7c9d90f595c61c0
backends/cryptodev-builtin: Fix local_error leaks

It seems that this error does not need to be propagated to the upper,
directly output the error to avoid the leaks

Closes: https://gitlab.com/qemu-project/qemu/-/issues/2283
Fixes: 2fda101de07 ("virtio-crypto: Support asynchronous mode")
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: zhenwei pi <pizhenwei@bytedance.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 06479dbf3d7d245572c4b3016e5a1d923ff04d66)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
backends/cryptodev-builtin.c