[Bug 1904486] Re: resource leak in /net/tap.c

2020-11-19 Thread yuanjungong
Hi Alex, Thanks for offering to help, but I submitted a patch to the maillist yesterday. Thank you again. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1904486 Title: resource leak in /net/tap.c

[Bug 1904486] Re: resource leak in /net/tap.c

2020-11-19 Thread yuanjungong
A patch has been submitted at https://lists.nongnu.org/archive/html /qemu-trivial/2020-11/msg00355.html -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1904486 Title: resource leak in /net/tap.c Sta

[Bug 1904486] Re: resource leak in /net/tap.c

2020-11-16 Thread yuanjungong
** Description changed: Hi,there might be a resource leak in function net_init_tap in - /net/tap.c. + /net/tap.c. The version is 5.1.91. - 811 fd = monitor_fd_param(monitor_cur(), tap->fd, errp); - 812 if (fd == -1) { - 813 return -1; - 814 } - 815 -

[Bug 1904486] [NEW] resource leak in /net/tap.c

2020-11-16 Thread yuanjungong
Public bug reported: Hi,there might be a resource leak in function net_init_tap in /net/tap.c. 811 fd = monitor_fd_param(monitor_cur(), tap->fd, errp); 812 if (fd == -1) { 813 return -1; 814 } 815 816 ret = qemu_try_set_nonblock(fd); 817