mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-16 02:15:47 +00:00
kvm tools: Fix leaked descriptors
Signed-off-by: Sasha Levin <levinsasha928@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
@@ -27,6 +27,8 @@ static void print_guest(const char *name, int pid)
|
||||
|
||||
printf("%s (PID: %d)\n", name, pid);
|
||||
|
||||
close(fd);
|
||||
|
||||
return;
|
||||
|
||||
cleanup:
|
||||
|
||||
Reference in New Issue
Block a user