Skip to content
Commit 557411eb authored by Armin Kuster's avatar Armin Kuster Committed by Greg Kroah-Hartman
Browse files

Sysfs: fix possible memleak in sysfs_follow_link



There is the possiblity of a memory leak if a page is allocated and if
sysfs_getlink() fails in the sysfs_follow_link.

Signed-off-by: default avatarArmin Kuster <akuster@mvista.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b22813b3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment