const FieldID& activeUnionMemberId(const void* object, ptrdiff_t offset) {
  return *reinterpret_cast<const FieldID*>(
      offset + static_cast<const char*>(object));
}
The application attempts to return a memory resource to the system, but calls the wrong release function or calls the appropriate release function incorrectly.