diff options
author | Daniel Dunbar <daniel@zuster.org> | 2004-05-05 07:22:22 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2004-05-05 07:22:22 +0400 |
commit | f54160ca2fd72ac8902b5e05a6848222813da6ab (patch) | |
tree | 2273444f4b54db472aa5aa2a55f84e3300adb81e /source/blender/python/api2_2x/Bone.c | |
parent | baa54a9a9f89d87fc97c962966a7eebea21a05ed (diff) |
- PyInt_AsLong() was called on a possibly NULL object, this may be
a checked error but is no good anyway
- Bone_dealloc free'd Blender's actual copy of the Bone! AGH!!!!
- On syntax errors the python global dictionary was being free'd
twice. AGH!!! again!
Can someone from the Python team please audit this.
Diffstat (limited to 'source/blender/python/api2_2x/Bone.c')
-rw-r--r-- | source/blender/python/api2_2x/Bone.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Bone.c b/source/blender/python/api2_2x/Bone.c index 539d2213547..99246707561 100644 --- a/source/blender/python/api2_2x/Bone.c +++ b/source/blender/python/api2_2x/Bone.c @@ -1067,7 +1067,6 @@ Bone_setPose (BPy_Bone *self, PyObject *args) static void Bone_dealloc (BPy_Bone * self) { - MEM_freeN(self->bone); PyObject_DEL (self); } |