fix(alsa): Avoid dangling pointers

This commit is contained in:
Michael Carlberg
2016-12-09 22:53:26 +01:00
parent cab2d49532
commit b303492759
3 changed files with 67 additions and 36 deletions

View File

@ -80,6 +80,7 @@ namespace modules {
void volume_module::teardown() {
m_mixer.clear();
m_ctrl.clear();
}
bool volume_module::has_event() {