aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorWu Fengguang <[email protected]>2011-11-16 16:29:46 +0800
committerTakashi Iwai <[email protected]>2011-11-16 10:44:21 +0100
commitb95d68b8179764e29558b75cec35ef4a6a98925b (patch)
tree875fb72efe3cefea4df2bb37404dd32590666065 /tools/perf/util/scripting-engines/trace-event-python.c
parente53de8f00c80fd1a312c95bc5157fdb98d46e070 (diff)
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions