8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b988d70 commit ff0ae9bCopy full SHA for ff0ae9b
src/object/class.cpp
@@ -333,8 +333,9 @@ namespace objects
333
for (instance_holder* p = kill_me->objects, *next; p != 0; p = next)
334
{
335
next = p->next();
336
+ void* q = dynamic_cast<void*>(p);
337
p->~instance_holder();
- instance_holder::deallocate(inst, dynamic_cast<void*>(p));
338
+ instance_holder::deallocate(inst, q);
339
}
340
341
// Python 2.2.1 won't add weak references automatically when
0 commit comments