aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <[email protected]>2016-07-13 18:05:57 +0200
committerJiri Kosina <[email protected]>2016-08-05 13:39:14 +0200
commitc1f5409b74c14ac021ef847e034356c904bc7882 (patch)
tree4cad6aa02d379cd112594e8757411c0ea49a487c /net/unix/sysctl_net_unix.c
parent2df68a8864883ff006b76f50dfc32fd230247ef9 (diff)
HID: wacom: use devm_kasprintf for allocating the name of the remote
The sysfs group was indeed removed by kobject_put(wacom->remote_dir) in wacom_remove(), but the name of the group was never freed. Also remove the misplaced kobject_put(wacom->remote_dir) in the error path of wacom_remote_create_attr_group(). Signed-off-by: Benjamin Tissoires <[email protected]> Acked-by: Ping Cheng <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions