Re: [Qemu-devel] [PATCH] qga/commands-posix: Fix resource leak

2015-03-14 Thread Shannon Zhao
On 2015/3/14 14:54, Stefan Weil wrote: > Am 14.03.2015 um 04:30 schrieb Shannon Zhao: >> It's detected by coverity. Close the dirfd. >> >> Signed-off-by: Shannon Zhao >> Signed-off-by: Shannon Zhao >> --- >> qga/commands-posix.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/qga

Re: [Qemu-devel] [PATCH] qga/commands-posix: Fix resource leak

2015-03-13 Thread Stefan Weil
Am 14.03.2015 um 04:30 schrieb Shannon Zhao: It's detected by coverity. Close the dirfd. Signed-off-by: Shannon Zhao Signed-off-by: Shannon Zhao --- qga/commands-posix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qga/commands-posix.c b/qga/commands-posix.c index d5bb5cb..cbf1c80

[Qemu-devel] [PATCH] qga/commands-posix: Fix resource leak

2015-03-13 Thread Shannon Zhao
It's detected by coverity. Close the dirfd. Signed-off-by: Shannon Zhao Signed-off-by: Shannon Zhao --- qga/commands-posix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qga/commands-posix.c b/qga/commands-posix.c index d5bb5cb..cbf1c80 100644 --- a/qga/commands-posix.c +++ b/qga/comma