Free the flexnbd switch mutex

This commit is contained in:
Alex Young
2012-07-13 11:31:22 +01:00
parent 00e912d0a6
commit 2a50b64a43

View File

@@ -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 );
}