OSDN Git Service

xen: Free xenforeignmemory_resource at exit
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 30 Apr 2021 16:37:42 +0000 (17:37 +0100)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 10 May 2021 12:43:58 +0000 (13:43 +0100)
commitf1e43b6026500690fc402828fa7cc735175b93b6
treec09900d3911313d41ee017763ce6a3ffc41be65f
parent3e81a71c9f3d23002b1e0dfff902c155d6c8d224
xen: Free xenforeignmemory_resource at exit

Because Coverity complains about it and this is one leak that Valgrind
reports.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Paul Durrant <paul@xen.org>
Message-Id: <20210430163742.469739-1-anthony.perard@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
hw/i386/xen/xen-hvm.c
include/hw/xen/xen_common.h