Marcus Meissner : winebuild: Added missing close.

Alexandre Julliard julliard at winehq.org
Mon Aug 10 10:34:57 CDT 2009


Module: wine
Branch: master
Commit: 051535961ac3a4a7465a971a989f29b623e061a2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=051535961ac3a4a7465a971a989f29b623e061a2

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sat Aug  8 10:53:56 2009 +0200

winebuild: Added missing close.

---

 tools/winebuild/res16.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/winebuild/res16.c b/tools/winebuild/res16.c
index 8a26ae2..a81f63b 100644
--- a/tools/winebuild/res16.c
+++ b/tools/winebuild/res16.c
@@ -184,6 +184,7 @@ void load_res16_file( const char *name, DLLSPEC *spec )
     file_pos  = base;
     file_end  = file_pos + st.st_size;
     while (file_pos < file_end) load_next_resource( spec );
+    close (fd);
 }
 
 /* compare two strings/ids */




More information about the wine-cvs mailing list