In this test we allocate memory in executable, reallocate memory in library and trying to release memory in executable.
Static linking standard library against both executable and library file leads to allocators conflict. Each target has its own allocator which doesn't know about existence of the other.
This patch avoids allocating memory in library.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Sorry for the tardiness of this...
- Could the the type change from std::string be to the new State type introduced (rather than int)
- Have all State variables default initialized to a value that would cause the test to fail.
Comment Actions
I'll make changes according your comment a little bit later. Right now I don't have proper environment and time.