That&#x27;s generally the rule in C&#x2F;C++-land. If you have two shared objects&#x2F;dlls linked into your program that are linked with different versions of the C++ runtime, it&#x27;s not safe for an object allocated by one to be freed by the other.