David Hildenbrand dd4fc60585 util/oslib-posix: Fix missing unlock in the error path of os_mem_prealloc()
We're missing an unlock in case installing the signal handler failed.
Fortunately, we barely see this error in real life.

Fixes: a960d6642d39 ("util/oslib-posix: Support concurrent os_mem_prealloc() invocation")
Fixes: CID 1468941
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Pankaj Gupta <pankaj.gupta@ionos.com>
Cc: Daniel P. Berrangé <berrange@redhat.com>
Cc: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20220111120830.119912-1-david@redhat.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@ionos.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-02-06 04:33:50 -05:00
..
2020-01-06 18:41:32 +04:00
2021-07-06 08:33:51 +02:00
2019-09-11 08:46:17 +02:00
2021-07-09 18:20:27 +02:00
2020-12-10 17:16:44 +01:00
2021-06-13 17:42:40 -07:00
2018-12-20 10:29:08 +01:00
2021-11-10 13:20:15 +01:00
2021-07-09 18:20:27 +02:00
2018-08-24 20:26:37 +02:00
2021-04-01 15:27:44 +04:00