qemu-e2k/backends
zhenwei pi a1f85cff90 cryptodev: fix memory leak during stats query
object_get_canonical_path already returns newly allocated memory, this
means no additional g_strdup required. Remove g_strdup to avoid memory
leak.

Fixes: Coverity CID 1508074
Fixes: f2b901098 ("cryptodev: Support query-stats QMP command")
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Message-Id: <20230503115437.262469-1-pizhenwei@bytedance.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-06-23 03:09:45 -04:00
..
tpm meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
confidential-guest-support.c
cryptodev-builtin.c cryptodev: Use CryptoDevBackendOpInfo for operation 2023-03-07 12:38:59 -05:00
cryptodev-hmp-cmds.c
cryptodev-lkcf.c cryptodev: Use CryptoDevBackendOpInfo for operation 2023-03-07 12:38:59 -05:00
cryptodev-vhost-user.c cryptodev-vhost-user: add asymmetric crypto support 2023-06-23 02:54:44 -04:00
cryptodev-vhost.c
cryptodev.c cryptodev: fix memory leak during stats query 2023-06-23 03:09:45 -04:00
dbus-vmstate1.xml
dbus-vmstate.c
hostmem-epc.c
hostmem-file.c exec/memory: Introduce RAM_NAMED_FILE flag 2023-06-13 11:28:58 +02:00
hostmem-memfd.c
hostmem-ram.c
hostmem.c
Kconfig
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
rng-builtin.c
rng-egd.c
rng-random.c
rng.c
trace-events
trace.h
vhost-user.c