Jacek Caban : itss: Close chm file when destroying Storage.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 15 07:43:03 CST 2007


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sat Jan 13 12:47:27 2007 +0100

itss: Close chm file when destroying Storage.

---

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

diff --git a/dlls/itss/storage.c b/dlls/itss/storage.c
index 9d1b343..6c163ad 100644
--- a/dlls/itss/storage.c
+++ b/dlls/itss/storage.c
@@ -296,6 +296,7 @@ static ULONG WINAPI ITSS_IStorageImpl_Re
 
     if (ref == 0)
     {
+        chm_close(This->chmfile);
         HeapFree(GetProcessHeap(), 0, This);
         ITSS_UnlockModule();
     }




More information about the wine-cvs mailing list