[libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread ajia
* src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected in valgrind run: ==1254== ==1254== FILE DESCRIPTORS: 6 open at exit. ==1254== Open file descriptor 5: ==1254==at 0x30736D9D47: pipe2 (syscall-template.S:82) ==1254==by 0x4DD6267: rpl_pipe2 (pipe2.c:61)

Re: [libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread Osier Yang
于 2011年07月19日 16:25, Alex Jia 写道: * src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected in valgrind run: ==1254== ==1254== FILE DESCRIPTORS: 6 open at exit. ==1254== Open file descriptor 5: ==1254==at 0x30736D9D47: pipe2 (syscall-template.S:82) ==1254==by

Re: [libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread Matthias Bolte
2011/7/19 a...@redhat.com: * src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected in valgrind run: ==1254== ==1254== FILE DESCRIPTORS: 6 open at exit. ==1254== Open file descriptor 5: ==1254==    at 0x30736D9D47: pipe2 (syscall-template.S:82) ==1254==    by

Re: [libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread Alex Jia
On 07/19/2011 05:00 PM, Osier Yang wrote: 于 2011年07月19日 16:25, Alex Jia 写道: * src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected in valgrind run: ==1254== ==1254== FILE DESCRIPTORS: 6 open at exit. ==1254== Open file descriptor 5: ==1254==at 0x30736D9D47: pipe2

Re: [libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread Alex Jia
On 07/19/2011 05:00 PM, Matthias Bolte wrote: 2011/7/19a...@redhat.com: * src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected in valgrind run: ==1254== ==1254== FILE DESCRIPTORS: 6 open at exit. ==1254== Open file descriptor 5: ==1254==at 0x30736D9D47: pipe2

Re: [libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread Alex Jia
On 07/19/2011 05:12 PM, Alex Jia wrote: On 07/19/2011 05:00 PM, Matthias Bolte wrote: 2011/7/19a...@redhat.com: * src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected in valgrind run: ==1254== ==1254== FILE DESCRIPTORS: 6 open at exit. ==1254== Open file descriptor

Re: [libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread Daniel Veillard
On Tue, Jul 19, 2011 at 11:00:21AM +0200, Matthias Bolte wrote: 2011/7/19 a...@redhat.com: * src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected in valgrind run: ==1254== ==1254== FILE DESCRIPTORS: 6 open at exit. ==1254== Open file descriptor 5: ==1254==

Re: [libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread Matthias Bolte
2011/7/19 Daniel Veillard veill...@redhat.com: On Tue, Jul 19, 2011 at 11:00:21AM +0200, Matthias Bolte wrote: 2011/7/19  a...@redhat.com: * src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected in valgrind run: ==1254== ==1254== FILE DESCRIPTORS: 6 open at

Re: [libvirt] [PATCH] util: avoid fds leak on virEventPollInit

2011-07-19 Thread Daniel Veillard
On Tue, Jul 19, 2011 at 12:19:34PM +0200, Matthias Bolte wrote: 2011/7/19 Daniel Veillard veill...@redhat.com: On Tue, Jul 19, 2011 at 11:00:21AM +0200, Matthias Bolte wrote: 2011/7/19  a...@redhat.com: * src/util/event_poll.c: fix file descriptors leak on virEventPollInit. Detected