Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-03-21 19:03:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-03-21 19:03:26 +0300
commit935f10dc45e482061f1af230d3f9a9f878000379 (patch)
treebd0de96c2cce465391c76a7d62050a903e09612f /source/blender/python/intern/bpy_util.c
parent6ab2d7ad659606cbf2a315ef9a576c364e6ec9bb (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.c2
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 */