Commit ca197250 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

баги

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58330 954022d7-b5bf-4e40-9824-e11837661b57
parent b8476340
......@@ -2227,7 +2227,7 @@ namespace NSEditorApi
virtual ~CAscMenuEvent()
{
if (NULL != m_pData)
delete m_pData;
m_pData->Release();
}
};
......@@ -2246,7 +2246,7 @@ namespace NSEditorApi
{
CAscMenuEvent* data = *i;
if (NULL != data)
delete data;
data->Release();
}
}
};
......@@ -2258,7 +2258,7 @@ namespace NSEditorApi
virtual void OnEvent(CAscMenuEvent* pEvent)
{
if (NULL != pEvent)
delete pEvent;
pEvent->Release();
}
virtual bool IsSupportEvent(int nEventType)
{
......@@ -2272,7 +2272,7 @@ namespace NSEditorApi
virtual void Apply(CAscMenuEvent* pEvent)
{
if (NULL != pEvent)
delete pEvent;
pEvent->Release();
}
};
}
......
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