server: Make sure to release the fd we grabbed in all cases.

Mike McCormack mike at codeweavers.com
Tue Jan 17 02:26:48 CST 2006


The old code leaked an fd reference.  The test case I will post next 
showed the problem.

Mike


ChangeLog:
Make sure to release the fd we grabbed in all cases.

  server/fd.c |   27 ++++++++++++++++++---------
  1 files changed, 18 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: e5badccfdc582406b6e41b20184056b3cbab169f.diff
Type: text/x-patch
Size: 1278 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060117/dbe97d16/e5badccfdc582406b6e41b20184056b3cbab169f.diff


More information about the wine-patches mailing list