aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorWu Fengguang <[email protected]>2011-11-16 08:29:46 +0000
committerTakashi Iwai <[email protected]>2011-11-16 09:44:21 +0000
commitb95d68b8179764e29558b75cec35ef4a6a98925b (patch)
tree875fb72efe3cefea4df2bb37404dd32590666065 /lib/debugobjects.c
parentALSA: hda/realtek: remove redundant semicolon (diff)
downloadkernel-b95d68b8179764e29558b75cec35ef4a6a98925b.tar.gz
kernel-b95d68b8179764e29558b75cec35ef4a6a98925b.zip
ALSA: hda - fix ELD memory leak
memset(eld) clears eld->proc_entry which will leak the struct snd_info_entry when unloading module. Fix it by - memset only the fields before eld->eld_buffer - set eld->eld_valid to true _after_ all eld fields have been filled Cc: <[email protected]> Cc: Pierre-louis Bossart <[email protected]> Acked-by: Stephen Warren <[email protected]> Signed-off-by: Wu Fengguang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions