diff --git a/common/src/platform/linux/ivshmem.c b/common/src/platform/linux/ivshmem.c index f86d93eb..9184d860 100644 --- a/common/src/platform/linux/ivshmem.c +++ b/common/src/platform/linux/ivshmem.c @@ -175,6 +175,7 @@ bool ivshmemOpenDev(struct IVSHMEM * dev, const char * shmDevice) { DEBUG_ERROR("Failed to map the shared memory device: %s", shmDevice); DEBUG_ERROR("%s", strerror(errno)); + close(devFd); return false; }