aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2021-06-25 08:34:37 +0000
committerRichard Weinberger <[email protected]>2021-08-26 20:28:02 +0000
commit7ad28e0df7ee9dbcb793bb88dd81d4d22bb9a10e (patch)
tree7e617d730538b978c25b6783b2c629c1cebe8185 /scripts/clang-tools/gen_compile_commands.py
parentum: virtio_uml: include linux/virtio-uml.h (diff)
downloadkernel-7ad28e0df7ee9dbcb793bb88dd81d4d22bb9a10e.tar.gz
kernel-7ad28e0df7ee9dbcb793bb88dd81d4d22bb9a10e.zip
um: virtio_uml: fix memory leak on init failures
If initialization fails, e.g. because the connection failed, we leak the 'vu_dev'. Fix that. Reported by smatch. Fixes: 5d38f324993f ("um: drivers: Add virtio vhost-user driver") Signed-off-by: Johannes Berg <[email protected]> Acked-By: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions