summaryrefslogtreecommitdiffstats
path: root/drivers/video/controlfb.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>2013-03-19 13:40:23 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-20 12:17:59 -0400
commit0582b7d15f8a7ae53dd2128b8eb01567b3fd2277 (patch)
tree3573e1c8cbbff92617caaf914efa10c36e58cd6e /drivers/video/controlfb.c
parent283951f95b067877ca5ea77afaa212bb1e0507b5 (diff)
downloadlinux-0582b7d15f8a7ae53dd2128b8eb01567b3fd2277.tar.gz
linux-0582b7d15f8a7ae53dd2128b8eb01567b3fd2277.tar.bz2
linux-0582b7d15f8a7ae53dd2128b8eb01567b3fd2277.zip
sh_eth: fix bitbang memory leak
sh_mdio_init() allocates pointer to 'struct bb_info' but only stores it locally, so that sh_mdio_release() can't free it on driver unload. Add the pointer to 'struct bb_info' to 'struct sh_eth_private', so that sh_mdio_init() can save 'bitbang' variable for sh_mdio_release() to be able to free it later... Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/controlfb.c')
0 files changed, 0 insertions, 0 deletions