diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2009-07-26 21:29:25 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2009-07-26 21:29:25 +0400 |
commit | 69853d3e409470aebda5732daf3e525231d317e6 (patch) | |
tree | 95dec7f903fc8244677558d5fd1f500cbecb7a00 /source/blender/freestyle | |
parent | 730fb1021c8b189229625866dac0f6e83db6418c (diff) |
Reverted the change in revision 21877 in Interface0D___dealloc__().
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Interface0D.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Interface0D.cpp b/source/blender/freestyle/intern/python/BPy_Interface0D.cpp index 89eb3600665..fb8c27c4205 100644 --- a/source/blender/freestyle/intern/python/BPy_Interface0D.cpp +++ b/source/blender/freestyle/intern/python/BPy_Interface0D.cpp @@ -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); } |