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)
commit74863948f925d9f3bb4e3d3a783e49e9c662d839
tree4839624b0a87942c6238f97ba885ee96311c0b12
parent17eea0df5f7068fc04959e655ef8f0a0ed097e19
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