diff --git a/src/osx/idle.c b/src/osx/idle.c index c24c30438..badad7fba 100644 --- a/src/osx/idle.c +++ b/src/osx/idle.c @@ -114,6 +114,7 @@ static PyObject * idle_getIdleSec(PyObject *self, PyObject *args) else { printf("Couldn't grab properties of system\n"); + return NULL; } if (obj)