Marcus Meissner : shell32: Added missing fclose (Coverity).

Alexandre Julliard julliard at winehq.org
Tue Jan 27 09:07:13 CST 2009


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

Author: Marcus Meissner <meissner at suse.de>
Date:   Mon Jan 26 17:44:08 2009 +0100

shell32: Added missing fclose (Coverity).

---

 dlls/shell32/xdg.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/shell32/xdg.c b/dlls/shell32/xdg.c
index 4d2aacd..ce8c203 100644
--- a/dlls/shell32/xdg.c
+++ b/dlls/shell32/xdg.c
@@ -946,6 +946,7 @@ HRESULT XDG_UserDirLookup(const char * const *xdg_dirs, const unsigned int num_d
             continue;
         }
     }
+    fclose (file);
     hr = S_OK;
 
     /* Remove entries for directories that do not exist */




More information about the wine-cvs mailing list