]> Git Repo - qemu.git/commit - qga/commands-posix.c
qga: fix file descriptor leak
authorPaolo Bonzini <[email protected]>
Sun, 15 Jul 2018 16:21:56 +0000 (18:21 +0200)
committerMichael Roth <[email protected]>
Mon, 16 Jul 2018 20:05:58 +0000 (15:05 -0500)
commitd9c745c1768727aadd77e352c85114bc61e67bd4
tree508ff8b7414b32864b968058ea60a1748962da5b
parentbb23a7362a7942739f080990a53e44afc319e36c
qga: fix file descriptor leak

The file descriptor for /sys/power/state was never closed.  Reported
by Coverity.

Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
qga/commands-posix.c
This page took 0.024801 seconds and 4 git commands to generate.