Needs to increment returned object

This commit is contained in:
wmayer
2017-09-28 12:51:22 +02:00
parent 917e61a3be
commit 111dd2127c

View File

@@ -94,6 +94,7 @@ PyObject* MeasurementPy::has3DReferences(PyObject *args)
result = Py_True;
}
Py_IncRef(result);
return result;
}