diff options
author | Lu Guanqun <[email protected]> | 2011-02-21 13:45:04 +0800 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2011-02-21 09:33:49 +0100 |
commit | eeda276bef36026fce3029e6423e1a09a50c359e (patch) | |
tree | 45304df293c62577611acfb0ead9a4b88f4ded45 | |
parent | 89724958e5d596bb91328644c97dd80399443e87 (diff) |
ALSA: fix one memory leak in sound jack
Signed-off-by: Lu Guanqun <[email protected]>
Reviewed-by: Wu Fengguang <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
-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; } |