[Bug 139] New: File descriptor leak

Wine Bugs wine-bugs at winehq.org
Thu Apr 6 10:39:17 CDT 2006


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 at winehq.org
        ReportedBy: terra-wine at 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 at 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 at diku.dk  2000-21-12 15:07 -------
Fixed by recent patch.


------- Additional Comments From jim at codeweavers.com  2000-21-12 16:00 -------
-jim


------- Additional Comments From jim at 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.



More information about the wine-bugs mailing list