Free the flexnbd switch mutex
This commit is contained in:
@@ -179,6 +179,8 @@ void flexnbd_destroy( struct flexnbd * flexnbd )
|
||||
listen_destroy( flexnbd->listen );
|
||||
}
|
||||
|
||||
flexthread_mutex_destroy( flexnbd->switch_mutex );
|
||||
|
||||
close( flexnbd->signal_fd );
|
||||
free( flexnbd );
|
||||
}
|
||||
|
Reference in New Issue
Block a user