Skip to content
Snippets Groups Projects
Commit 118133e6 authored by Sonic Zhang's avatar Sonic Zhang Committed by David S. Miller
Browse files

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: default avatarRegis Dargent <rdargent@edevice.com>
Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Signed-off-by: default avatarDavid S. Miller <davem@conan.davemloft.net>
parent e3cb78c7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment