diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/oslib-posix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/oslib-posix.c b/util/oslib-posix.c index 9efdc74..ac0dbc2 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -683,6 +683,7 @@ void os_mem_prealloc(int fd, char *area, size_t memory, int smp_cpus, ret = sigaction(SIGBUS, &act, &sigbus_oldact); if (ret) { + qemu_mutex_unlock(&sigbus_mutex); error_setg_errno(errp, errno, "os_mem_prealloc: failed to install signal handler"); return; |