From 935f10dc45e482061f1af230d3f9a9f878000379 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 21 Mar 2009 16:03:26 +0000 Subject: get rid of warnings, fix for a refcount error --- source/blender/python/intern/bpy_util.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/python/intern/bpy_util.c') 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 */ -- cgit v1.2.3