summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEugene A. Shatokhin <dame_eugene@mail.ru>2011-06-28 23:04:51 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-29 14:36:45 -0400
commita0b8de350be458b33248e48b2174d9af8a4c4798 (patch)
tree553527255b492f175b91bed29a36767afff63259 /net
parentc31eb8e926835582cd186b33a7a864880a4c0c79 (diff)
downloadop-kernel-dev-a0b8de350be458b33248e48b2174d9af8a4c4798.zip
op-kernel-dev-a0b8de350be458b33248e48b2174d9af8a4c4798.tar.gz
ath5k: fix memory leak when fewer than N_PD_CURVES are in use
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. Cc: stable@kernel.org Signed-off-by: Bob Copeland <me@bobcopeland.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud