Debug Assertion in Release build
Posted on 1998-05-19
I've build a large project, and have now tried to build it in release mode. I get the following:
Debug Assertion Failed
Line 1051 ( I think this is in v_free_dbg)
The code that causes this is:
(in OnInitUpdate, this the setup and its OK)
// Pre Bill Tab
m_pbTab = new CPbInvDlgTab(m_client, m_matter, m_invList, this);
delete m_pbTab; // This blows up here with the debug assertion
(These are views that are used in a TAB control)
I have searched all though the code for any conditional DEBUG code that may be getting included in the release mode. The view getting destroyed has vendor provided OCXs. As well I'm using third party STL lib, but I have included only their release LIBS.
A pointer as where to look next would be great help. This all runs OK in DEBUG build. Am I on the right track in assuming that some DEBUG build code is doing a delete etc?