projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8972495
)
ALSA: fix one memory leak in sound jack
author
Lu Guanqun
<guanqun.lu@intel.com>
Mon, 21 Feb 2011 05:45:04 +0000
(13:45 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 21 Feb 2011 08:33:49 +0000
(09:33 +0100)
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/jack.c
patch
|
blob
|
history
diff --git
a/sound/core/jack.c
b/sound/core/jack.c
index
4902ae5
..
53b53e9
100644
(file)
--- a/
sound/core/jack.c
+++ b/
sound/core/jack.c
@@
-141,6
+141,7
@@
int snd_jack_new(struct snd_card *card, const char *id, int type,
fail_input:
input_free_device(jack->input_dev);
+ kfree(jack->id);
kfree(jack);
return err;
}