Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45422
b: refs/heads/master
c: 2a2a5dd
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 9, 2007
1 parent 22e429d commit a428e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7fbe3ca571e4b0795b729658e3d76824be54cb18
refs/heads/master: 2a2a5dddece676acbe3775e5ca9961f325717022
2 changes: 1 addition & 1 deletion trunk/sound/usb/usbaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -3286,6 +3286,7 @@ static void snd_usb_audio_create_proc(struct snd_usb_audio *chip)

static int snd_usb_audio_free(struct snd_usb_audio *chip)
{
usb_chip[chip->index] = NULL;
kfree(chip);
return 0;
}
Expand Down Expand Up @@ -3547,7 +3548,6 @@ static void snd_usb_audio_disconnect(struct usb_device *dev, void *ptr)
list_for_each(p, &chip->mixer_list) {
snd_usb_mixer_disconnect(p);
}
usb_chip[chip->index] = NULL;
mutex_unlock(&register_mutex);
snd_card_free_when_closed(card);
} else {
Expand Down

0 comments on commit a428e43

Please sign in to comment.