mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
[SHELL32]
- Avoid leaking the list items on destruction of CEnumIDListBase CORE-13194 svn path=/trunk/; revision=74498
This commit is contained in:
parent
0db63068ac
commit
8600730e9c
2 changed files with 6 additions and 5 deletions
|
@ -22,15 +22,16 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(shell);
|
||||
|
||||
CEnumIDListBase::CEnumIDListBase()
|
||||
CEnumIDListBase::CEnumIDListBase() :
|
||||
mpFirst(NULL),
|
||||
mpLast(NULL),
|
||||
mpCurrent(NULL)
|
||||
{
|
||||
mpFirst = NULL;
|
||||
mpLast = NULL;
|
||||
mpCurrent = NULL;
|
||||
}
|
||||
|
||||
CEnumIDListBase::~CEnumIDListBase()
|
||||
{
|
||||
DeleteList();
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
|
|
|
@ -33,7 +33,7 @@ private:
|
|||
ENUMLIST *mpCurrent;
|
||||
public:
|
||||
CEnumIDListBase();
|
||||
~CEnumIDListBase();
|
||||
virtual ~CEnumIDListBase();
|
||||
BOOL AddToEnumList(LPITEMIDLIST pidl);
|
||||
BOOL DeleteList();
|
||||
BOOL HasItemWithCLSID(LPITEMIDLIST pidl);
|
||||
|
|
Loading…
Reference in a new issue