]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/stmmac: seq_file fix memory leak
authorDjalal Harouni <tixxdz@opendz.org>
Sun, 20 May 2012 13:55:30 +0000 (13:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 May 2012 07:37:56 +0000 (03:37 -0400)
commitdc8479027e7b7c348f1ca7f6b798d7663a2f67c5
tree4839624b0a87942c6238f97ba885ee96311c0b12
parente782b7d37dbb4c2ed326d3f690c6e5d5e95f7fec
drivers/net/stmmac: seq_file fix memory leak

Use single_release() instead of seq_release() to free memory allocated
by single_open().

Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c