mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 20:26:30 +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()
|
AlsaAudioBackend::release_device()
|
||||||
{
|
{
|
||||||
_reservation_connection.drop_connections();
|
_reservation_connection.drop_connections();
|
||||||
delete _device_reservation;
|
ARDOUR::SystemExec * tmp = _device_reservation;
|
||||||
_device_reservation = 0;
|
_device_reservation = 0;
|
||||||
|
delete tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue