aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorHaotian Zhang <[email protected]>2025-11-12 06:57:09 +0000
committerMark Brown <[email protected]>2025-11-13 00:36:01 +0000
commit360b3730f8eab6c4467c6cca4cb0e30902174a63 (patch)
treecb2be1d7999fb2cf5c87d4ebb4f62cf0be09917b /net/unix/af_unix.c
parentASoC: SDCA: bug fix while parsing mipi-sdca-control-cn-list (diff)
downloadkernel-360b3730f8eab6c4467c6cca4cb0e30902174a63.tar.gz
kernel-360b3730f8eab6c4467c6cca4cb0e30902174a63.zip
ASoC: rsnd: fix OF node reference leak in rsnd_ssiu_probe()
rsnd_ssiu_probe() leaks an OF node reference obtained by rsnd_ssiu_of_node(). The node reference is acquired but never released across all return paths. Fix it by declaring the device node with the __free(device_node) cleanup construct to ensure automatic release when the variable goes out of scope. Fixes: 4e7788fb8018 ("ASoC: rsnd: add SSIU BUSIF support") Signed-off-by: Haotian Zhang <[email protected]> Acked-by: Kuninori Morimoto <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions