commit | 70f7db11c45a313b23922cacf248c613c3b2144c | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Feb 02 17:16:38 2011 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Feb 02 17:16:38 2011 +0100 |
tree | d7d5b6bab9d76f15b7539cb9147d76a338db42ec | |
parent | 6abb31908f3ed7d38e93d06b704c9342029ca9a0 [diff] |
ALSA: hda - Fix memory leaks in conexant jack arrays The Conexant codec driver adds the jack arrays in init callback which may be called also in each PM resume. This results in the addition of new jack element at each time. The fix is to check whether the requested jack is already present in the array. Reference: Novell bug 668929 https://bugzilla.novell.com/show_bug.cgi?id=668929 Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>