See code below. If run it like this, 10 leaks. If I comment out the entire IF section, 0 leaks. Ideas?
CkCrypt2 crypt; if (!crypt.UnlockComponent("hello")) { m_dwErrorCode = -1; m_strErrorText = A2T(crypt.lastErrorText()); return _T(""); }
See code below. If run it like this, 10 leaks. If I comment out the entire IF section, 0 leaks. Ideas?
CkCrypt2 crypt; if (!crypt.UnlockComponent("hello")) { m_dwErrorCode = -1; m_strErrorText = A2T(crypt.lastErrorText()); return _T(""); }