diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2011-06-16 12:31:58 +0000 |
---|---|---|
committer | David S. Miller <davem@conan.davemloft.net> | 2011-06-17 00:19:09 -0400 |
commit | 118133e6580a0c912cda86109b6468b5ffe73f1c (patch) | |
tree | 437d85afc373577934e168b9a6dc104fec7b155e /drivers/net/sfc/mtd.c | |
parent | e3cb78c772de593afa720687ce3abbed8d93b0c3 (diff) | |
download | blackbird-op-linux-118133e6580a0c912cda86109b6468b5ffe73f1c.tar.gz blackbird-op-linux-118133e6580a0c912cda86109b6468b5ffe73f1c.zip |
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>
Diffstat (limited to 'drivers/net/sfc/mtd.c')
0 files changed, 0 insertions, 0 deletions