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

This commit is contained in:
Vincent Povirk 2009-04-01 10:22:43 -05:00 committed by Alexandre Julliard
parent ebbf99abce
commit 9c02fda4a9
1 changed files with 1 additions and 1 deletions

View File

@ -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