aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLiang He <[email protected]>2022-07-13 20:05:28 +0800
committerGreg Kroah-Hartman <[email protected]>2022-07-14 16:10:12 +0200
commit220fafb4ed04187e9c17be4152da5a7f2ffbdd8c (patch)
tree5a9016e3e92f6552200db9b13cc0e4a0267efd43 /net/unix/af_unix.c
parentefa2bebf2a9fde638644d6fb0fb776345ac6fcc1 (diff)
usb: aspeed-vhub: Fix refcount leak bug in ast_vhub_init_desc()
We should call of_node_put() for the reference returned by of_get_child_by_name() which has increased the refcount. Fixes: 30d2617fd7ed ("usb: gadget: aspeed: allow to set usb strings in device tree") Signed-off-by: Liang He <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions