13
0

ALSA backend: prevent possible crash destruction of a-r-d

This commit is contained in:
Robin Gareus 2014-06-06 16:45:20 +02:00
parent 960a5347f0
commit b68d2e25b2

View File

@ -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