summaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2011-04-08 15:33:12 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-04-12 16:58:56 -0400
commita065784620a2b78a2bbd00e066c004644d227ea8 (patch)
treece1bb7881fbd34d3dc65cd5da7f9b0d0cadc686e /drivers/net/skfp
parentba30c4a58ceb10e81dbf6bd80aeb6a4db42db8fe (diff)
ath5k: improve pcal error handling for ENOMEM case
The ath5k driver does kmalloc allocations for pcal info in a loop. But, if one fails it was simply returning -ENOMEM without freeing already allocated memory. This patch corrects that oversight. Reported-by: Eugene A. Shatokhin <dame_eugene@mail.ru> Signed-off-by: John W. Linville <linville@tuxdriver.com> Reviewed-by: Bob Copeland <me@bobcopeland.com>
Diffstat (limited to 'drivers/net/skfp')
0 files changed, 0 insertions, 0 deletions