diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-03-21 19:03:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-03-21 19:03:26 +0300 |
commit | 935f10dc45e482061f1af230d3f9a9f878000379 (patch) | |
tree | bd0de96c2cce465391c76a7d62050a903e09612f /source/blender/python/intern/bpy_util.c | |
parent | 6ab2d7ad659606cbf2a315ef9a576c364e6ec9bb (diff) |
get rid of warnings, fix for a refcount error
Diffstat (limited to 'source/blender/python/intern/bpy_util.c')
-rw-r--r-- | source/blender/python/intern/bpy_util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_util.c b/source/blender/python/intern/bpy_util.c index ce307b5d8ac..7979ca9cd37 100644 --- a/source/blender/python/intern/bpy_util.c +++ b/source/blender/python/intern/bpy_util.c @@ -212,6 +212,8 @@ void BPY_getFileAndNum(char **filename, int *lineno) *lineno = (int)PyLong_AsSsize_t(f_lineno); Py_DECREF(f_lineno); } + + Py_DECREF(frame); } /* Would be nice if python had this built in */ |