summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core.c b/core.c
index bf122ed..15df64f 100644
--- a/core.c
+++ b/core.c
@@ -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);
}