aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2023-10-03 17:55:54 +0200
committerMark Brown <[email protected]>2023-10-09 13:03:34 +0100
commitda29b94ed3547cee9d510d02eca4009f2de476cf (patch)
tree0eb4882865259b286b8f66a6ac54ea4950ef7b29 /lib/test_fortify/write_overflow-strncpy-src.c
parentfa2f8a991ba4aa733ac1c3b1be0c86148aa4c52c (diff)
ASoC: codecs: wcd938x: fix resource leaks on bind errors
Add the missing code to release resources on bind errors, including the references taken by wcd938x_sdw_device_get() which also need to be dropped on unbind(). Fixes: 16572522aece ("ASoC: codecs: wcd938x-sdw: add SoundWire driver") Cc: [email protected] # 5.14 Cc: Srinivas Kandagatla <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions