ALSA: Fix card refcount unbalance
[pandora-kernel.git] / sound / core / oss / mixer_oss.c
index 05395aa..c353768 100644 (file)
@@ -76,6 +76,7 @@ static int snd_mixer_oss_open(struct inode *inode, struct file *file)
                snd_card_unref(card);
                return -EFAULT;
        }
+       snd_card_unref(card);
        return 0;
 }