Message ID | 153504887176.3676.14416169422675105431.stgit@gimli.home |
---|---|
State | New |
Headers | show |
Series | [PULL,1/3] vfio/pci: Handle subsystem realpath() returning NULL | expand |
diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 3f31f80b1280..7c185e5a2e79 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -1432,6 +1432,7 @@ int vfio_get_device(VFIOGroup *group, const char *name, if (!QLIST_EMPTY(&group->device_list)) { error_setg(errp, "Inconsistent device balloon setting within group"); + close(fd); return -1; }