Alexandre Julliard : ole32: Delete the transacted storage scratch file on release.
Module: wine Branch: master Commit: 7efe6d98950d0ecba69a7da87e3600d166ceb9e7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7efe6d98950d0ecba69a7da87e... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu May 26 13:27:41 2011 +0200 ole32: Delete the transacted storage scratch file on release. --- dlls/ole32/storage32.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/ole32/storage32.c b/dlls/ole32/storage32.c index fa9c06f..44adaed 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -5062,7 +5062,7 @@ static HRESULT TransactedSnapshotImpl_Construct(StorageBaseImpl *parentStorage, (*result)->base.openFlags = parentStorage->openFlags; /* Create a new temporary storage to act as the scratch file. */ - hr = StgCreateDocfile(NULL, STGM_READWRITE|STGM_SHARE_EXCLUSIVE|STGM_CREATE, + hr = StgCreateDocfile(NULL, STGM_READWRITE|STGM_SHARE_EXCLUSIVE|STGM_CREATE|STGM_DELETEONRELEASE, 0, (IStorage**)&(*result)->scratch); if (SUCCEEDED(hr))
participants (1)
-
Alexandre Julliard