]> git.ipfire.org Git - thirdparty/qemu.git/commit
net/passt: Check return value of g_remove() in net_passt_cleanup() (CID 1612369)
authorLaurent Vivier <lvivier@redhat.com>
Thu, 17 Jul 2025 15:08:03 +0000 (17:08 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 21 Jul 2025 02:22:57 +0000 (10:22 +0800)
commitf74e4f2e60c3b2c6e2f13eb115478df116148fe6
tree58ba608120082d068b5174d9deb2d9925a222064
parentc40ef7243fdbec816242cb0ded569a61270ea7c3
net/passt: Check return value of g_remove() in net_passt_cleanup() (CID 1612369)

If g_remove() fails, use warn_report() to log an error.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/passt.c