get rid of warnings, fix for a refcount error

This commit is contained in:
2009-03-21 16:03:26 +00:00
parent 6ab2d7ad65
commit 935f10dc45
6 changed files with 16 additions and 18 deletions

View File

@@ -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 */