aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJones Desougi <[email protected]>2010-10-27 17:38:34 +0000
committerJohn W. Linville <[email protected]>2010-10-27 19:54:54 +0000
commit3d435ad7218ff58c846d7e52d87c2daf115f50cd (patch)
tree67d70141b5d7df2c4194231bed3ec1430771bcc5 /tools/perf/scripts/python/check-perf-trace.py
parentmac80211: Fix scan_ies_len to include DS Params (diff)
downloadkernel-3d435ad7218ff58c846d7e52d87c2daf115f50cd.tar.gz
kernel-3d435ad7218ff58c846d7e52d87c2daf115f50cd.zip
ath5k: Fix double free on hw attach error path
If ath5k_hw_attach fails it will free sc->ah (local variable ah) before returning. However, when it reports failure the caller (ath5k_pci_probe) will also free sc->ah. Let the caller handle the deallocation, it does so on further errors as well. Signed-off-by: Jones Desougi <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions