Reverted the change in revision 21877 in Interface0D___dealloc__().

This commit is contained in:
2009-07-26 17:29:25 +00:00
parent 730fb1021c
commit 69853d3e40

View File

@@ -189,7 +189,8 @@ int Interface0D___init__(BPy_Interface0D *self, PyObject *args, PyObject *kwds)
void Interface0D___dealloc__(BPy_Interface0D* self)
{
delete self->if0D;
if( self->if0D->py_if0D )
delete self->if0D;
self->ob_type->tp_free((PyObject*)self);
}