mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
ALSA backend: prevent possible crash destruction of a-r-d
This commit is contained in:
parent
960a5347f0
commit
b68d2e25b2
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue