diff options
Diffstat (limited to 'src/AlsaDriver.cpp')
-rw-r--r-- | src/AlsaDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp index f868af9..eb93dac 100644 --- a/src/AlsaDriver.cpp +++ b/src/AlsaDriver.cpp @@ -73,7 +73,7 @@ AlsaDriver::attach(bool /*launch_daemon*/) void AlsaDriver::detach() { - if (m_seq != NULL) { + if (m_seq) { pthread_cancel(m_refresh_thread); pthread_join(m_refresh_thread, NULL); snd_seq_close(m_seq); |