Eugene A. Shatokhin a0b8de350b 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>
2011-06-29 14:36:45 -04:00
..
2011-03-05 10:55:57 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-13 16:50:49 -04:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-10 18:55:19 -07:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-04-10 18:55:21 -07:00
2011-03-31 11:26:23 -03:00
2010-12-23 11:44:34 -08:00
2011-04-18 22:59:04 -07:00
2011-04-18 14:19:32 -07:00
2011-05-07 03:08:38 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-15 15:50:41 -07:00
2011-04-15 15:50:41 -07:00
2011-04-17 17:47:36 -07:00
2011-04-17 17:47:36 -07:00
2011-05-07 22:31:35 -07:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 14:50:45 -07:00
2011-03-31 11:26:23 -03:00
2011-05-19 09:55:43 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-05-19 09:55:43 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-04-06 14:35:23 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-26 10:22:59 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 14:50:42 -07:00
2011-05-09 11:53:07 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-25 17:55:32 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00