diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-09-16 08:29:04 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-09-16 08:29:04 +0200 |
commit | 0308110615acb4b6409fe042caf22bb9fb075d85 (patch) | |
tree | d129f11ebdbe49b21246a72e6ba52c50e81e8e7e /sound/aoa | |
parent | ALSA: snd-usb: move code from urb.c to endpoint.c (diff) | |
parent | ALSA: pcm - fix race condition in wait_for_avail() (diff) | |
download | linux-0308110615acb4b6409fe042caf22bb9fb075d85.tar.xz linux-0308110615acb4b6409fe042caf22bb9fb075d85.zip |
Merge branch 'fix/misc' into topic/misc
Diffstat (limited to 'sound/aoa')
-rw-r--r-- | sound/aoa/fabrics/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/fabrics/layout.c b/sound/aoa/fabrics/layout.c index 3fd1a7e24928..552b97afbca5 100644 --- a/sound/aoa/fabrics/layout.c +++ b/sound/aoa/fabrics/layout.c @@ -1073,10 +1073,10 @@ static int aoa_fabric_layout_probe(struct soundbus_dev *sdev) sdev->pcmid = -1; list_del(&ldev->list); layouts_list_items--; + kfree(ldev); outnodev: of_node_put(sound); layout_device = NULL; - kfree(ldev); return -ENODEV; } |