aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorZhipeng Lu <[email protected]>2024-01-17 08:14:19 +0000
committerMauro Carvalho Chehab <[email protected]>2024-02-01 12:49:18 +0000
commitdc9ceb90c4b42c6e5c6757df1d6257110433788e (patch)
tree660b2d2c2c64df2cc7c561a256325cd8d6b4de0c /scripts/clang-tools/gen_compile_commands.py
parentmedia: rc: bpf attach/detach requires write permission (diff)
downloadkernel-dc9ceb90c4b42c6e5c6757df1d6257110433788e.tar.gz
kernel-dc9ceb90c4b42c6e5c6757df1d6257110433788e.zip
media: ir_toy: fix a memleak in irtoy_tx
When irtoy_command fails, buf should be freed since it is allocated by irtoy_tx, or there is a memleak. Fixes: 4114978dcd24 ("media: ir_toy: prevent device from hanging during transmit") Signed-off-by: Zhipeng Lu <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions