From 78d00344e23af457803096efef818e77264fae2e Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Wed, 1 Apr 2009 10:22:43 -0500 Subject: [PATCH] ole32: when renaming a storage element, delete from the current iface --- 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 9f3148b..2111b90 100644 --- a/dlls/ole32/storage32.c +++ b/dlls/ole32/storage32.c @@ -912,7 +912,7 @@ static HRESULT WINAPI StorageBaseImpl_RenameElement( * Invoke Destroy to get rid of the ole property and automatically redo * the linking of its previous and next members... */ - IStorage_DestroyElement((IStorage*)This->ancestorStorage, pwcsOldName); + IStorage_DestroyElement(iface, pwcsOldName); } else -- 1.5.4.3