ALSA backend: prevent possible crash destruction of a-r-d
This commit is contained in:
parent
960a5347f0
commit
b68d2e25b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user