aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorEugene A. Shatokhin <dame_eugene@mail.ru>2011-06-28 23:04:51 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-13 05:31:24 +0200
commit44252341f94309e76aeba0b7c805fb46b2d72fdc (patch)
tree4e5a25f95993d2c44fa2d93bb7f367affb7b552d /mm
parent92e438c204e4ae51e706725b6c007591e62504f2 (diff)
ath5k: fix memory leak when fewer than N_PD_CURVES are in use
commit a0b8de350be458b33248e48b2174d9af8a4c4798 upstream. We would free the proper number of curves, but in the wrong slots, due to a missing level of indirection through the pdgain_idx table. It's simpler just to try to free all four slots, so do that. Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions