Vincent Povirk : ole32: Invalidate child streams when a non-top-level storage is freed.

Alexandre Julliard julliard at winehq.org
Thu Nov 19 10:15:18 CST 2009


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Wed Nov 18 10:16:13 2009 -0600

ole32: Invalidate child streams when a non-top-level storage is freed.

---

 dlls/ole32/storage32.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c
index b6de7ae..df0305d 100644
--- a/dlls/ole32/storage32.c
+++ b/dlls/ole32/storage32.c
@@ -3485,6 +3485,8 @@ static void StorageInternalImpl_Destroy( StorageBaseImpl *iface)
 {
   StorageInternalImpl* This = (StorageInternalImpl*) iface;
 
+  StorageBaseImpl_DeleteAll(&This->base);
+
   HeapFree(GetProcessHeap(), 0, This);
 }
 




More information about the wine-cvs mailing list