From dbee7c5c1aa96c7c2e60f9789ad69d0bc1f20ff8 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Wed, 18 Nov 2009 10:16:13 -0600 Subject: [PATCH 1/6] 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); } -- 1.6.3.3