Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mixing CRT link type will cause debug assert when it freed
if (pHead->pBlockHeaderPrev)
{
pHead->pBlockHeaderPrev->pBlockHeaderNext = pHead->pBlockHeaderNext;
}
else
{
_ASSERTE(_pFirstBlock == pHead);
_pFirstBlock = pHead->pBlockHeaderNext;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment