diff options
author | Lu Guanqun <guanqun.lu@intel.com> | 2011-02-21 06:45:04 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-02-21 09:33:49 +0100 |
commit | eeda276bef36026fce3029e6423e1a09a50c359e (patch) | |
tree | 45304df293c62577611acfb0ead9a4b88f4ded45 /sound | |
parent | ALSA: HDA: Do not announce false surround in Conexant auto (diff) | |
download | linux-eeda276bef36026fce3029e6423e1a09a50c359e.tar.xz linux-eeda276bef36026fce3029e6423e1a09a50c359e.zip |
ALSA: fix one memory leak in sound jack
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/core/jack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/core/jack.c b/sound/core/jack.c index 4902ae568730..53b53e97c896 100644 --- 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; } |