http://bugs.winehq.org/show_bug.cgi?id=139 Summary: File descriptor leak Product: Wine Version: unspecified Platform: All OS/Version: All Status: CLOSED Severity: normal Priority: P1 Component: wine-ports AssignedTo: wine-bugs(a)winehq.org ReportedBy: terra-wine(a)diku.dk It looks like wine_openpty leaks a (master) file descriptor if opening the slave fails. (Further, it would make sense to make ptr1 and ptr2 const.) ------- Additional Comments From terra-wine(a)diku.dk 2000-14-12 20:22 ------- And while I am at it: it should also set errno to something just before the final return. ------- Additional Comments From terra-wine(a)diku.dk 2000-21-12 15:07 ------- Fixed by recent patch. ------- Additional Comments From jim(a)codeweavers.com 2000-21-12 16:00 ------- -jim ------- Additional Comments From jim(a)codeweavers.com 2000-21-12 16:08 ------- -j -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.