Paolo Bonzini c25a67f0c3 edu: fix memory leak on msi_broken platforms
If msi_init fails, the thread has already been created and the
mutex/condvar are not destroyed.  Initialize everything only
after the point where pci_edu_realize cannot fail.

Reported-by: Markus Armbruster <armbru@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-06-07 18:22:02 +02:00
..
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:24 +00:00
2016-05-19 16:42:29 +02:00
2016-06-14 15:59:14 +01:00
2016-12-27 14:59:28 +00:00
2016-01-29 15:07:22 +00:00
2017-06-02 05:54:43 +01:00
2016-05-19 16:42:29 +02:00
2016-06-14 15:59:14 +01:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-01-29 15:07:24 +00:00
2016-06-16 18:39:03 +02:00
2016-01-29 15:07:22 +00:00
2016-01-29 15:07:22 +00:00
2017-06-02 05:54:43 +01:00
2016-05-19 16:42:29 +02:00