diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-02-02 17:16:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-17 15:36:58 -0800 |
commit | fd9ea125b48590b9b21a7fa5e8879334fac9831b (patch) | |
tree | b6710bcbb5f0cb7e1b322c09eee8fd563c62c85b /sound/ppc | |
parent | fe46374bd611afa1a17c08ac623f777453fd9c34 (diff) |
ALSA: hda - Fix memory leaks in conexant jack arrays
commit 70f7db11c45a313b23922cacf248c613c3b2144c upstream.
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
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/ppc')
0 files changed, 0 insertions, 0 deletions