summaryrefslogtreecommitdiff
path: root/arch/metag
diff options
context:
space:
mode:
authorOlivier Sobrie <olivier@sobrie.be>2015-01-30 13:21:56 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-01 12:33:26 -0800
commit2e6d01ff759c5f0fc831694c01c477a6c0ebf7b1 (patch)
treec65af7c8fceb6823875a1bf33e724ddbf66a3627 /arch/metag
parent295fc56f465ee8e013b2889e42094da9b2bd7125 (diff)
hso: fix memory leak in hso_create_rfkill()
When the rfkill interface was created, a buffer containing the name of the rfkill node was allocated. This buffer was never freed when the device disappears. To fix the problem, we put the name given to rfkill_alloc() in the hso_net structure. Signed-off-by: Olivier Sobrie <olivier@sobrie.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/metag')
0 files changed, 0 insertions, 0 deletions