Commit a6e4c721 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

shell32: Pass an object instead of an iface to a helper function.

parent 61c8da18
...@@ -164,14 +164,8 @@ BOOL CreateFolderEnumList( ...@@ -164,14 +164,8 @@ BOOL CreateFolderEnumList(
return succeeded; return succeeded;
} }
/************************************************************************** static BOOL DeleteList(IEnumIDListImpl *This)
* DeleteList()
*/
static BOOL DeleteList(
IEnumIDList * iface)
{ {
IEnumIDListImpl *This = (IEnumIDListImpl *)iface;
LPENUMLIST pDelete; LPENUMLIST pDelete;
TRACE("(%p)->()\n",This); TRACE("(%p)->()\n",This);
...@@ -263,7 +257,7 @@ static ULONG WINAPI IEnumIDList_fnRelease( ...@@ -263,7 +257,7 @@ static ULONG WINAPI IEnumIDList_fnRelease(
if (!refCount) { if (!refCount) {
TRACE(" destroying IEnumIDList(%p)\n",This); TRACE(" destroying IEnumIDList(%p)\n",This);
DeleteList((IEnumIDList*)This); DeleteList(This);
HeapFree(GetProcessHeap(),0,This); HeapFree(GetProcessHeap(),0,This);
} }
return refCount; return refCount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment