Reverted the change in revision 21877 in Interface0D___dealloc__().
This commit is contained in:
@@ -189,7 +189,8 @@ int Interface0D___init__(BPy_Interface0D *self, PyObject *args, PyObject *kwds)
|
|||||||
|
|
||||||
void Interface0D___dealloc__(BPy_Interface0D* self)
|
void Interface0D___dealloc__(BPy_Interface0D* self)
|
||||||
{
|
{
|
||||||
delete self->if0D;
|
if( self->if0D->py_if0D )
|
||||||
|
delete self->if0D;
|
||||||
self->ob_type->tp_free((PyObject*)self);
|
self->ob_type->tp_free((PyObject*)self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user