diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-10-15 19:28:09 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-10-15 19:28:09 +0400 |
commit | e9c2aa691e10d4e42652cdc4979c75e9a8fbe95c (patch) | |
tree | 630df1ba541bf1995d2989cb4d9465e5b60fc7f5 /source/blender/python/BPY_interface.c | |
parent | 15ad8e7e66cae65e2f894c6420a4493646336f1e (diff) |
updated pyconstraint template from nathan (cessen) which exposed some
bugs with pyconstraints, also added a missing decref from python (wasnt freeing the return value from the settings
button).
Diffstat (limited to 'source/blender/python/BPY_interface.c')
-rw-r--r-- | source/blender/python/BPY_interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/BPY_interface.c b/source/blender/python/BPY_interface.c index 863b77a8346..9fbd1d9a204 100644 --- a/source/blender/python/BPY_interface.c +++ b/source/blender/python/BPY_interface.c @@ -1627,6 +1627,7 @@ void BPY_pyconstraint_settings(void *arg1, void *arg2) /* free temp objects */ Py_XDECREF( idprop ); + Py_DECREF( retval ); return; } } |