Vincent Povirk : ole32: When renaming a storage element, delete from the current iface.

Alexandre Julliard julliard at winehq.org
Thu Apr 2 10:42:42 CDT 2009


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

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Wed Apr  1 10:22:43 2009 -0500

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




More information about the wine-cvs mailing list