2025-04-27 07:49:33 -04:00

15 lines
263 B
C++

// we can link to these directly instead of implementing them ourselves...
//
void ILFree(LPITEMIDLIST pidl)
{
LPMALLOC pMalloc;
if (SUCCEEDED(SHGetMalloc(&pMalloc)))
{
pMalloc->Free(pidl);
pMalloc->Release();
}
}