|
|
@@ -381,6 +381,7 @@ void CQPasteWndThread::OnLoadExtraData(void *param)
|
|
|
ATL::CCritSecLock csLock(pasteWnd->m_CritSection.m_sect);
|
|
|
|
|
|
pasteWnd->m_cf_rtfCache[it->m_parentId] = *it;
|
|
|
+ it->m_autoDeleteData = false;
|
|
|
//the cache now owns the format data, set it to delete the data in the destructor
|
|
|
pasteWnd->m_cf_rtfCache[it->m_parentId].m_autoDeleteData = true;
|
|
|
|