Needs to increment returned object

This commit is contained in:
wmayer
2017-09-28 12:51:22 +02:00
parent a2bfe1bbe1
commit e5b81c968d

View File

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