aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/rawmidi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/rawmidi.c')
-rw-r--r--sound/core/rawmidi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c
index 8c15c66eb4aa..51577c22f8ce 100644
--- a/sound/core/rawmidi.c
+++ b/sound/core/rawmidi.c
@@ -1599,7 +1599,7 @@ static int snd_rawmidi_dev_unregister(struct snd_device *device)
1599 mutex_lock(&register_mutex); 1599 mutex_lock(&register_mutex);
1600 list_del(&rmidi->list); 1600 list_del(&rmidi->list);
1601 if (rmidi->proc_entry) { 1601 if (rmidi->proc_entry) {
1602 snd_info_unregister(rmidi->proc_entry); 1602 snd_info_free_entry(rmidi->proc_entry);
1603 rmidi->proc_entry = NULL; 1603 rmidi->proc_entry = NULL;
1604 } 1604 }
1605#ifdef CONFIG_SND_OSSEMUL 1605#ifdef CONFIG_SND_OSSEMUL