Path.Area: return Py_None with ref counting

This commit is contained in:
Zheng, Lei
2017-04-13 11:26:22 +08:00
committed by Yorik van Havre
parent c9be3b3676
commit 2bda3a3207
2 changed files with 3 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ PyObject* FeatureAreaPy::setParams(PyObject *args, PyObject *keywds)
//populate properties with the CONF variables
PARAM_FOREACH(AREA_GET,AREA_PARAMS_CONF)
Py_INCREF(Py_None);
return Py_None;
}