Commit 07845691 authored by sletz's avatar sletz
Browse files

port jack1 fix r1149 to jack2

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2125 0c269be4-1314-0410-8aa9-9f06e86f4224
parent f88240ce
......@@ -1772,10 +1772,15 @@ JackAlsaDriver::alsa_driver_delete (alsa_driver_t *driver)
(driver->midi->destroy)(driver->midi);
for (node = driver->clock_sync_listeners; node;
node = jack_slist_next (node)) {
node = jack_slist_next (node)) {
free (node->data);
}
jack_slist_free (driver->clock_sync_listeners);
if (driver->ctl_handle) {
snd_ctl_close (driver->ctl_handle);
driver->ctl_handle = 0;
}
if (driver->capture_handle) {
snd_pcm_close (driver->capture_handle);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment