Module: wine Branch: master Commit: 55604eb36c4d569464a9f154ff30b4fdd4987c33 URL: http://source.winehq.org/git/wine.git/?a=commit;h=55604eb36c4d569464a9f154ff...
Author: Vincent Povirk vincent@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); }