aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2011-09-22 14:38:58 +0100
committerTakashi Iwai <[email protected]>2011-09-22 15:51:46 +0200
commit2ba34e43ba0469086d1ff81c13a9aa9070c1a0e1 (patch)
tree3392535e3ee4970c4dac01784b07c9e0cfe5cf5d /tools/perf/util/scripting-engines/trace-event-python.c
parent46724c2e023cb7ba5cd5000dee6481f0a15ebed9 (diff)
ALSA: fm801: Fix double free in case of error in tuner detection
Commit 9676001559fce06e37c7dc230ab275f605556176 ("ALSA: fm801: add error handling if auto-detect fails") added incorrect error handling. Once we have successfully called snd_device_new(), the cleanup function fm801_free() will automatically be called by snd_card_free() and we must *not* also call fm801_free() directly. Reported-by: Hor Jiun Shyong <[email protected]> References: http://bugs.debian.org/641946 Signed-off-by: Ben Hutchings <[email protected]> Cc: [email protected] [v3.0+] 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