ALSA backend: prevent possible crash destruction of a-r-d
This commit is contained in:
@@ -106,8 +106,9 @@ void
|
||||
AlsaAudioBackend::release_device()
|
||||
{
|
||||
_reservation_connection.drop_connections();
|
||||
delete _device_reservation;
|
||||
ARDOUR::SystemExec * tmp = _device_reservation;
|
||||
_device_reservation = 0;
|
||||
delete tmp;
|
||||
}
|
||||
|
||||
bool
|
||||
|
||||
Reference in New Issue
Block a user