Jens Freimann 2dfeebe265 vhost: check return of mutex initialization
Check return value of pthread_mutex_init(). Also destroy
mutex in case of other erros before returning.

Signed-off-by: Jens Freimann <jfreimann@redhat.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2017-07-04 11:30:54 +02:00
..
2017-07-04 14:35:41 +02:00
2017-07-04 14:35:41 +02:00
2017-06-19 23:30:01 +02:00
2017-07-04 14:39:18 +02:00
2017-04-05 23:03:23 +02:00