diff options
author | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-07 12:42:31 +1000 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-26 17:27:37 +1100 |
commit | 86c77302e07b229d6723dc1f8e3da02765cff1f1 (patch) | |
tree | 915cb5baf2b557e8dd88bc576d8e597bc574a331 /core.c | |
parent | 7e4d6e2f61c97da680591b77fb89a69f69a3af7f (diff) |
Clean up sound card on module exit
Sound card was not being free'd properly on module exit.
Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'core.c')
-rw-r--r-- | core.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -463,6 +463,7 @@ static void __exit core_exit(void) __avirt_configfs_exit(&core); kset_unregister(avirt_audiopath_kset); + snd_card_free(core.card); device_destroy(core.avirt_class, 0); class_destroy(core.avirt_class); } |