wineps file handle leak (all platforms)

Eric Frias efrias at
Wed Nov 17 13:23:08 CST 2004

Here's a fix that will help x86 users as well as sparc-solaris folks.  For
each printer, wine was opening the PPD file for the printer and parsing it,
but never closing the file.  It's certainly more of a problem on solaris,
where the default file handle limit is 256, but it could happen on linux
too, I guess.  This leak is usually not noticed, but becomes a problem when
you have more than, say, 500 printers defined (ask me how I know :-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wineps-handle-leak.diff
Type: application/octet-stream
Size: 335 bytes
Desc: not available
Url :

More information about the wine-patches mailing list