commit | 118133e6580a0c912cda86109b6468b5ffe73f1c | [log] [tgz] |
---|---|---|
author | Sonic Zhang <sonic.zhang@analog.com> | Thu Jun 16 12:31:58 2011 +0000 |
committer | David S. Miller <davem@conan.davemloft.net> | Fri Jun 17 00:19:09 2011 -0400 |
tree | 437d85afc373577934e168b9a6dc104fec7b155e | |
parent | e3cb78c772de593afa720687ce3abbed8d93b0c3 [diff] |
netdev: bfin_mac: fix memory leak when freeing dma descriptors The size of the desc array is not the size of the desc structure, so when we try to free up things, we leak some parts. Reported-by: Regis Dargent <rdargent@edevice.com> Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@conan.davemloft.net>